If you'd like to zip up your project and put it online, I can download it and take a look. It should definitely work with those commands - very strange that just one switch isn't resetting.
Need Help with Ordered Switch Puzzles
RPG Maker MV SupportOriginal thread: https://forums.rpgmakerweb.com/threads/need-help-with-ordered-switch-puzzles.85893/