Fixed boolean comparisons