Fixed bad ref to map in user profile combining code