Hey,
No Matter if you use DAW or your OT. You have to set the Prog change trig one Pattern before (i.e. at the last note ) you want to change.
Set the prog change at the pattern before and set up your MD that it only change Pattern after playing the whole one.