The second and third condition were using the "Equals" operator, rather than the "Contains" operator, which could never match (as the spoken command cannot be the literal text "right" or "up").
I corrected that, as well as the "right" branch using mickeys instead of pixels.
In future, if you have an issue with something found on the forum, linking to the topic you found it in can be very useful, so that any information on the decisions made when putting the command together is available.
In this case, I exported it with the category intact, which is the topic number, so I was able to find
the topic it originated from.
As a side note, if you're looking for a system that moves the cursor until you stop it, instead of a set distance,
this profile may be of use.