Minecraft wiki entry for Advanced_redstone_circuits, associated text: As there are many lines combined using implicit-ORs, you have to place diodes before each input into a circuit to keep signals from feeding back into other inputs.