I think, although I'm perfectly willing to be corrected, that the -u switch, as you are showing, is similar to the way that $remtok works, in that if the item to be removed doesn't exist, it just doesn't do anything. Likewise with $addtok, and the item already does exist (as described in the help file for $addtok).