Minor changes to query.coffee

Fixed the multiple whitespace and plus search issue