Fixed possible error when trying to add new agent to DTCrowd.