PLA-1240 sanitize query string

Sanitize filter query.

Quick fix for solr fatals.