Blended animations interpolate the wrong way

Godot Version

4.2.1

Question

I have a problem that just started happening the other day. When I play some animations which are blended into other states the interpolated movement goes the wrong way. Like the gif below (the first animation is glitched, the second one works). The weird thing is that this wasn’t a problem until just now, it’s been working just fine before.

GodotAnimBug

It goes by quite quickly but you can probably tell. I have a feeling this has something to do with how the blending determines “how far away” two rotations are from each other and mistake a small rotation for a big one but I’m not sure. Does anyone know how to fix this?