Fix inverted logic.