If its on a curved part of track this can happen as the spline can bend in the opposite direction first... so it thinks its turning left when its really turning right, (or vice versa).
Straighten the track here and use the straighten tool, then replace the junction.