CRM-15380 - Replaces PR 4273.

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

CRM-15380 - Replaces PR 4273.