Fixed issue with null user being added to team