invert the boolean conditions