Fixed a minor bug in the UpdateProfile web service.