hey, how are you? I know this is a few years late, but I'm having similar troubles. Whenever I press record (for an audio track), logic shoots some midi to my Rev2 and changes the patch. I also experience some of the same troubles you have. I'm using code knobs plugin.
I've got an iConnectivity midi interface.
Would love to hear any fixes you came across in the past couple years. Cheers.