The higher level or the most recent command applies.
The rules for Duplicate Effects state:
When you’re affected by the same thing multiple times, only one instance applies, using the higher level of the effects, or the newer effect if the two are the same level. For example, if you were using mage armor and then cast it again, you’d still benefit from only one casting of that spell. Casting a spell again on the same target might get you a better duration or effect if it were cast at a higher level the second time, but otherwise doing so gives you no advantage.
So the higher level casting applies, or the most recent, if they were the same level.