Fixed bug when adding users to a workspace