Fixed bug when switching to add user from partially updated user