Implement a separate parse method that does not throw an exception.
Give a non throwing overload for the query parser also.
Fix data type mismatches for filtering values.

Fixes #243.
Improve code coverage.