CRM-14851 - Validation of profile type for on behalf of profiles was checking the wrong profile.

----------------------------------------
* CRM-14851:
  https://issues.civicrm.org/jira/browse/CRM-14851
Merge pull request #3489 from davecivicrm/CRM-14851

CRM-14851 - Validation of profile type for on behalf of profiles was che...