Fix Jasmine spec by reversing toggle logic.