Removed capitalization and extra spaces from the query results