Should ensure toggling doesn't happen twice; doesn't fix root cause

Not sure what might get this to be triggered twice. It's hard to reproduce, but this appears to solve the problem.