convert spaces to plusses in the query