Nice work.
I'm gonna guess that it was one of the spades that has "loosened up" and come to a point of poor connection or even all the way off and laying against the contact giving sporadic continuity.
I recommend zip-tying the wires in such a way as to relieve any pulling stress on those spade connections.