[RIGGING] Joint 0 to -0 rotations issue

Hi!
I have a simple biped foot rig and in some parts of the animation I have a joint rotations that goes from 0 to -0 ( the foot is in the same place all the time ). This is causing an animation issue in our engine.

Is there a way to sole this problem in some way, in maya I mean?
I can´t think of any solution.

Thanks in advice!

do you mean that the output remains zero but the value toggles between 0 and -0? Or that it goes 0, -1, -2, … -359, -0?