I am having the exact same problem as this (closed) question - but I have ideas as to what might be causing the problem in my case
\documentclass[12pt,a4paper]{article}
\usepackage{mathtools}
\begin{document}
\begin{align}
\mathcal{B}_{x}=\frac{\splitfrac{\Pr\left(\tau_{i}\in[x, x+\delta)|\omega_{x+\delta}=1, \tau_{i}\not\in [x-\delta, x)\right)^{m}}{\Pr\left(\tau_{i}\not\in[x, x+\delta)|\omega_{x+\delta}=1, \tau_{i}\not\in [x-\delta, x)\right)^{k-m-1}}}{\splitfrac{\Pr(\tau_{i}\in[x, x+\delta)|\omega_{x+\delta}=0, \tau_{i}\not\in [x-\delta, x))^{m}}{\Pr\left(\tau_{i}\not\in[x, x+\delta)|\omega_{x+\delta}=0, \tau_{i}\not\in [x-\delta, x)\right)^{k-m-1}}}
\end{align}
\end{document}
When I run the code as it is above, I get my desired output:

However, when I run it with the entire preamble that I am using for a longer document, I get extra "1" characters
\documentclass[12pt,a4paper]{article}
\usepackage{amsmath,amsthm,amssymb,apacite,graphicx, verbatim,upref,paralist,indentfirst}
\usepackage{setspace}
\usepackage{breqn}
\allowdisplaybreaks
\usepackage{graphicx}
\usepackage{mathrsfs}
\usepackage{mathtools}
\usepackage{enumerate}
\graphicspath{ {./images/} }
\onehalfspacing
\usepackage{float}
\setlength{\parskip}{2pt}%
\begin{document}
\begin{align}
\mathcal{B}_{x}=\frac{\splitfrac{\Pr\left(\tau_{i}\in[x, x+\delta)|\omega_{x+\delta}=1, \tau_{i}\not\in [x-\delta, x)\right)^{m}}{\Pr\left(\tau_{i}\not\in[x, x+\delta)|\omega_{x+\delta}=1, \tau_{i}\not\in [x-\delta, x)\right)^{k-m-1}}}{\splitfrac{\Pr(\tau_{i}\in[x, x+\delta)|\omega_{x+\delta}=0, \tau_{i}\not\in [x-\delta, x))^{m}}{\Pr\left(\tau_{i}\not\in[x, x+\delta)|\omega_{x+\delta}=0, \tau_{i}\not\in [x-\delta, x)\right)^{k-m-1}}}
\end{align}
\end{document}
I am suspecting that there is some "contamination" from other packages in the preamble that are producing these unwanted "1" characters. Is there anything I can do to remove these unwanted "1"s? Is there a way I can do this without removing other packages from the preamble, as this may affect other formulae that I have in the document.
Edit: I suspect it is this line in the preamble that is causing the "1" to appear:
\usepackage{breqn}
When I remove it from the preamble, the 1's disappear. Is there a way to remove the 1's without removing this line from the preamble?


