Fix inverted result