Fixed parsing of space separated queries.