You probably have an bad or failing LM339 chip on your 7-switch opto pcb under the playfield. U1 & U2. They will cause faulty switch closures on your optos when one or both go bad. They are cheap and not real easy to test. Replace them and put sockets on. Should clear your problem.