A4 Midi Map and Program Change glitch

I have set up the midi map to change programs using direct start when receiving notes from my MC-707. It works fine except the first note of the pattern triggers twice when you trigger the pattern. Has anyone else experienced this? Any ideas how to prevent this?

I tried switching to direct jump but that seems to change the pattern out of sync.