Fixed error with quering boolean values.
Added more tests. Pushed version 0.10.1.