Congrats! Those pesky leaf switches. Nothing like the satisfaction of solving a playability issue though eh?
One of the great things about EMs (as opposed to games with "blackbox" circuit or node boards) is that the problem is nearly always visible. You just have to find it! And hopefully, not pull your hair out in the process.