CRM-13312 - Implement 'options.match' for API