Fix boolean literal codegen.
Add query fixtures.