Looping and non looping flipbooks

I have a really basic animation state machine that I’m trying to have toggle looping on or off depending on what flipbook I want to play. Some animations I want to loop, and some I don’t.

Here is my current failing method:

What happens is after looping is turned off all flipbooks will only play the first frame and then stop even after looping has been turned back on. Without those SetLooping nodes everything works except flipbooks that I don’t want to loop keep looping like jump and crouch.

This question was answered on the answerhub, just in case anyone finds this with the same problem.