CRM-11997 support for single date as a criteria