If I'm right in saying, when the switches are open the circuit is closed. When you close the switch you break the circuit but the current can still pass through the diode but in only 1 direction