You can disable all incoming MIDI messages from that specific device by going to the menu bar, selecting Window, then MIDI. On the MIDI window there is a pop-up menu item which lists the input sources. Make sure that only the ones you wish to use are selected.