You MIGHT try double-checking that MIDI pedal, Beaky. Is it battery operated (some VERY nasty things can get sent when the batteries get low in some MIDI gear)?

You might try just hooking it up to a computer sequencer (make sure NO filters are on) and press it a bunch of times (even try switching it on and off while recording). Then look in List Edit at all the codes, in case there is something out of place.

I'm not saying that IS the problem, but it's a fairly easy thing to check, and MIGHT save you a lot more pain if it turns out to have a problem...
_________________________
An arranger is just a tool. What matters is what you build with it..!