Fix the query for punctuation.