 There are, however, situations in which this interference term does not appear or is negligible, and the naive formula applies. This is the case if some other systems interact with the electron between the slits and the screen, leading to enough  entanglement  with the components of the wave going through the two slits. Then, the probabilities of detection at the screen are as if we had performed a detection at the slits.