Hi, JonnyD
It may be some transient noise/spikes, Bouncy Switch or bad contact in a switch, Try setting the De-bounce Interval in, Config, General Configuration to 1000 to 2000, Mach's default is 0,
See if that helps, May need to use shielded cable to switches, It can be allot of things.
Chip