Added sanitizing for query containing Lucene special chars.