Fixed boolean comparison operator