InputAction not deactivating after release of designated button

Not sure seems like it should work in theory BUT, why bother with the extra branch node and check on movement state? You want EVERY time space is pressed for the player to sprint no matter what…and EVERY time it is released to go back to a “run”. So why not code that instead? You are giving the computer more places to create a weird bug. Just go from input action sprint pressed to “set movement state sprint” and on released “set movement state run”. Seems like it would do the exact same thing without that intermediate check on current movement state.