fix query to use string matching in a filter rather than values