Correct inverted condition