Logic was flipped