I exported the MIDI from the song file in question, and Reaper loads it with the correct number of bars. What program are you opening the MIDI with?

[Linked Image - Only viewable when logged in]


I work here