Command spell cast twice (PF2e)

Inspired by this question, and by the fact that it almost happened in a recent session.

What happens if a target fails against two different Command spells that give different commands (say, approach and run away)? Since fail specifies the first action, it’s quite ambiguous. I was ready to house rule it stacked (i.e. first action is first command, second action is second command), but that was just a ruling to keep the session going.