Midi 'ghost' notes...?

OK, I have recorded some midi drums and I can see (and hear!) ghost notes that aren’t there when I look at the midi note editor. In my case I see/hear a closed hihat and can visually see markings on the record track (small vertical lines).
midi ghost 1.png
When I open the midi note editor all is see are the drum notes that are supposed to be there…
midi ghost 2.png
so how do I get rid of these? driving me crazy