CRM-13179 per Dave's comment I agree that this is a bogus error. Removing this check means that on a mixed profile (e.g. event) the correct data for the relevant contact is returned which seems appropriate