Help needed with toggle walk/run animation

Hello everyone,

I’ve been working for a few months already in Unreal Engine 4 trying to make animation for a character work smoothly and everything has been working fine till now. But a few days ago I have run into this problem: I have been trying to set a toggle walk run/animation for my character. So far the run animation in the following is running without any problem, but the walk animation has an issue - the character continues to render the walk animation while standing still even though I’m not pressing any key and not giving any command. So the issue is that the walking animation doesn’t stop when there is no input. When I press the key to revert back to running instead of walking everything is back to normal. Could someone advise how can I fix this? I’m not using blend space.

Thank you!