Fixed bug with adding users to teams