i remember using MIDI delete doubles alot and it worked.
for some reason i have a midi setup that is doubling the recorded MIDI notes.
so i go edit window, select all, and do MIDI / functions / delete doubles
but they are still here
i made sure they are perfectly quantizes, nothing work.
is it working for you ?