Fix inverted comparison