What is the MIDI controller you are using? Looking at your diagram, is it the GT-1000? It would be useful to connect that to a MIDI monitor to see what CC values are being sent with your different switching options.
For “P Act/Byp” a CC value of 64 or greater will toggle between active/bypassed.
For “P Act/Byp (M)” a CC value less than 64 will bypass the Program. A CC value of 64 or greater will be activate the Program.