Hello,
What MIDI controller are you using? It is possible that the CC message is being sent twice, and that is why the presets are incrementing/decrementing by 2.
Are you able to use a MIDI monitor app with your MIDI controller so confirm it is only sending 1 CC message per press? There may be an additional message sent when the footswitch is released.
Let me know what happens.