Unreal Engine Animation Won't Transition Back to Initial State In Animation Blueprint

I’m making a 3rd person shooter game, and I have a sword weapon. I have an animation for it, and I transition into the animation from my idle/walking/running state in my animation blueprint. It should transition back to the idle blend space, right? But, when it transitions back, the idle animation doesn’t play. I just get a static pose. How can I fix this? Below, I’ve attached code for my character blueprint, animation blueprint, etc.
[1]: https://i.stack.imgur.com/8o5Lt.png
[2]: https://i.stack.imgur.com/UjFBn.png
[3]: https://i.stack.imgur.com/aH2r5.png
[4]: https://i.stack.imgur.com/8C0zF.png
[5]: https://i.stack.imgur.com/UpbmK.png
[6]: https://i.stack.imgur.com/BzIds.png