Track-to constraint keeps flipping camera "up"

Dear Blender community,

 I am working on a short animation of a survivor stuck in a cave.  In the beginning, he's hanging from the ceiling.  I have a track-to constraint for the camera, so it's aimed at an empty.  I gave a F-Curve sine modifier to the empty, so there's sway while the character hangs from the ceiling.  My problem comes in whenever the empty object crosses the X-axis and my camera flips "up", which I don't want it to do.  Thank you for your help!

The .blend: caveDangle.blend (618 KB)

 Sincerely, KetoBlend

Sorry, that’s just the way tracking works.

Wait, try this:caveDangle.blend (537 KB)