I am trying to price a digital option with payoff $\mathbb{I}_{S_T>K}$, where $S_t$ follows the Ornstein-Uhlenbeck dynamics $\mathrm{d}S_t=rS_t\mathrm{d}t+\sigma\mathrm{d}W^{\mathbb{Q}}_t$ in the risk-neutral measure $\mathbb{Q}$. I have managed to calculate that $\mathrm{d}(\mathrm{e}^{-rt}S_t)=\sigma\mathrm{e}^{-rt}\mathrm{d}W^{\mathbb{Q}}_t$, so the conditional distribution is
$$\mathrm{e}^{-rT}S_T|\mathrm{e}^{-rt}S_t\sim\mathcal{N}\left(0,\frac{\sigma^2}{2r}(\mathrm{e}^{-2rt}-\mathrm{e}^{-2rT})\right).$$
Therefore, assuming that my calculations make sense, the value of my digital option is
\begin{align*} V(t,S_t) &=\mathrm{e}^{-r(T-t)}\mathbb{E}^{\mathbb{Q}}\mathbb{I}_{S_T>K}\\ &=\mathrm{e}^{-r(T-t)}\mathbb{Q}\left(X_T-Y_T>K|\mathcal{F}_t\right)\\ &=\mathrm{e}^{-r(T-t)}\mathbb{Q}\left(\mathrm{e}^{-rT}(X_T-Y_T)>K\mathrm{e}^{-rT}\Big|\mathcal{F}_t\right)\\ &=\mathrm{e}^{-r(T-t)}\mathbb{Q}\left(Z>\frac{K\mathrm{e}^{-rT}}{\sqrt{\frac{\sigma^2}{2r}(\mathrm{e}^{-2rt}-\mathrm{e}^{-2rT})}}\Big|\mathcal{F}_t\right)\\ &=\mathrm{e}^{-r(T-t)}\Phi\left(\frac{-K\mathrm{e}^{-rT}}{\sqrt{\frac{\sigma^2}{2r}(\mathrm{e}^{-2rt}-\mathrm{e}^{-2rT})}}\right). \end{align*}
However, in the limit $t\to T$, I don't seem to get $V(t,S_t)\to\mathbb{I}_{S_T>K}$ a.s., where have I gone wrong?