Fix error in stochastic integrals