Fixed duplicate entries for multi-user commands

For example, targeting a user group and a team will no longer add anyone
who is both in that user group and on the team twice.