Boolean constants were treated like strings but the SQLGenerator. Fixed.