CRM-13318  revert part of Coleman's patch that breaks profile retrieval