Fixed issues with adding/deleting users/groups.