Merge pull request #43 from maurizi/fix/boolean-queries

Fix queries using boolean literals