CRM-13294 fix membership to support IN format on contact_id