Fixed boolean statement