Fixed parsing single value queries.