Invert stop logic