Animation priority not working properly

I’m having an issue with multiple animations playing at once on an animator.
Whenever I play movement animations with a custom movement animation script I made it will cancel custom animations that are higher priority.

https://gyazo.com/356bba959fd8794e16c069ed78468a6f

Even if I set the animation priority of both the movement and the hands holding, it still doesn’t work.
Even the output prints that the movement is lower in priority than the hands holding. I’m not stopping the hands holding animation either.
Does anyone know what this could be?