I tried the RC low-pass filter on one of the limit switch wires, it didn't seem to do much looking at my scope. Attached is the circuit I used. I used a 1.5k resistor. Tomorrow I'll try 100k.