Top-down animation - too slow detection for quick button presses?

Hello!
I seem to have a problem with getting idle animations to trigger after a character sprite has stopped moving with the top-down movement behaviour. This only occurs if one is pressing the buttons too fast, one after the other. I’m using the default movement. I check if the character is moving with the condition “is moving” and if not moving with the same condition but inverted.

Here’s a .gif example of the problem. First I move the character by slower buttons presses, for example right then down. Then I press for example up and right quickly after each other, and the walking animation is stuck endlessly.
movement-animation-issues

Here’s what the events look like: