Weird Animation problem
Okay, so the problem isn't with the constraints, but with the keyframes on &quot;main&quot;.  On frame 75, main is keyframed to a quaternion with a W component of about -0.997, but on frame 77, its W component is 1.0.  That takes it through an entire rotation.
If you edit the frame 77 keyframe to set the W value equal to -1 instead of +1.0, it will stop rotating through the extra rotation on frame 76.
If your goal is rendering in Blender, this fix may interact poorly with some NLA (if you blend out the animation, or blend over an animation with a positive W.)  That's a solvable problem with extra strips to hold the W at negative values, but explaining it would probably require an actual example of the problem.  If your goal is game animation, it's probably not going to be an issue, as game engines tend to interpolate quaternions differently from Blender.  Unlike Blender, game engines are likely to use &quot;shortest path&quot; quaternion interpolation, which automatically removes issues like this.  (I wish that Blender could do the same thing, and hopefully, with some changes to how Blender handles quaternions that are already under discussion by developers, I'll get that wish.)