The most common cause of electrical problems is unwanted resistance. That means bad or corroded connections. In your case the wire being off put air into the circuit which makes a poor conductor, increasing the resistance of the circuit and virtually ceasing all current flow. Glad you got it fixed. Feels good, eh?