Fixed boolean operation