Fixing issue where unique validation fails if profile id != user id