There is a remote possibility that it's faulty and not making contact properly when closed but it definitely wouldn't be making contact when it's open.

Just to be sure I'll try shorting the wires at the switch end the next time I see the problem. I'll also see if I can locate a backup switch.