Treat boolean-type comparisons differently