improved user ID matching

-removed a potential bug causing GetUids() to return multiple duplicate
user IDs