
Those lights should not be powered.

To replicate the issue just build this setup and flip the switch on and off.
When the piston connects the wire to the diode in the same tick that the diode turns off light blocks in the circuit get set to on until the circuit is updated again. (Note: the Mese lines aren't powered though)