CRM-12765 quicksearch query escaping