https://www.dropbox.com/sh/5z3x3ziyjuhwu4i/AABuQtYUF--f6xDqnt94smdxa?dl=0

Here are several files that demonstrate this problem. As you can see, the melody track plays correctly during playback but when rendered to audio, the last note or measure is not included. The work-around for me is to convert the melody track to a performance file and then move it to the audio track.