CRM-13966 - Change contactRef to entityRef