Fixed user profile validation bug.