How to make Animation Blueprint ignore Control Yaw Input?

I have a little problem with animation blueprint. When idle/run blend space is being used I blend animations for idle, forward, backward, and sideways motion.
In a game, as long as I don’t move the camera around, animation for forward is fine (Picture 1), but as soon as I move the camera left or right, the animation looks like animations are mixed oddly (picture 2). I know it’s hard to see just from two pictures, but in short it looks like when going forward, animation blueprint (or blendspace) is adding in sideways animation (or animations).

If I try and rotate slowly I can find a spon in which animation is back the way it should be, but only in that rotation. Blendspace is a 2D blendspace file.