As an update/additional test:
I tried exporting the wrongly displayed midi file from Reaper, and tried opening this new one in Logic, here's what happened:
[url=https://postimg.org/image/t0g9ieqvn/]
So it's as if Reaper "added" this longer notes to the file after opening it...