Fixed a bug when updating a user that had no custom profile fields