Vehicle Wheels rotate 180 in the Z direction every 90 degrees

292167-brokenwheels.gif

I have imported this tractor from blender 2.8 everything seemed to work fine until i tried to get the wheel guards to rotate with the wheels. The wheel Yaw and Roll rotations just keep flipping from around 0 to around 180. I check that all bones have X pointing forward and Z Up. What could be cause this?