Digital Switch Problems

Our team has been having issues with digital switches, sometimes when the state of the switch is changed (from TRUE to FALSE or vise versa) the motors on the robot twitch, but the switch has no relation (in the program) to the motors that are twitching, does anyone know how to fix it??

Are these limit switches connected to digital inputs?

Is it possible that they are wired incorrectly and shorting the +/- pins on the digital input port causing the digital sidecar to misbehave?