can search for queries with spaces; fixes #43