I believe that in the preferences under midi, a lot of daws give you some kind of filtering options for things like cc, midi channels and notes where it can be set to selectively ignore various incoming data.
I can’t speak to which items to filter out regarding this specific issue, but I would assume it’s most likely that if you’re only receiving and sending midi on a set midi channel, filter out the other channels. If you’re only sending and receiving certain CC’s, filter out any other cc’s, stuff like that.
Like I said, unfortunately I can’t be specific but if you’re dealing with this issue it might be relevant. I don’t know a lot about ableton, but I’m pretty sure the settings tab has a midi section so look in there for a filtering option.