CRM-15550 - Fix relationship id passed to postprocess hook