No, I remove the empty events and count the time of the actual ones.
That new end time will be written in a newly created end event.
Ending up with a correctly times MIDI which also significantly decreases in filesize.
My tool can be downloaded from here: https://www.dropbox.com/sh/t3btacoo4kgd27f/AABSSEtmaaop1DALHt_lkq_Da?dl=0
It’s a Java app with the JDK included (hence the size).