SQLite now supports TRUE and FALSE constants, simplify some queries by inlining those instead of passing them as arguments.