Fixed issue with spaces in query revealing all rows.