It would be best if you upload your .CAP to dropbox and post the link for us to take a look at. But here's my guess:
Those conditions (player must be moving for a run attack to start) are only considered for when that Right Arrow button is pressed. Once it's pressed, and matches those conditions, your main animation is switched to the RunAttack animation and will continue to play regardless. There's no check afterwards to stop that animation from playing if the player is no longer moving, so it just keeps on playing.