Heh, yeah. It seems to work for any level.
Also, (I just checked) internally, the game makes multiple copies of the unitID when it issues the command. It will actually issue the command multiple times to the same unit depending on how many times it was selected.
And, to unselect a unit, you have to deselect it as many times as you selected it.