Ghost midi notes in track

I just experienced the same problem, turns out it was a part of a track that didn’t show because I either used the split tool or I shortened a MIDI region by dragging the right corner tab.

I fixed this by using the glue tool and clicking on the event a few times and wallah , there was my apparent ghost note, suddenly visible and I could delete it.