Quick update; this is certainly a bug. I haven't determined why it happens, but it is only on the editor side. You song is perfectly intact and all the notes are there. The issue has to do with the way I calculate leading rests between notes. For some reason when there are more than 16 measures in a pattern, it adds 16 measures worth of rests. I'm debugging now, but I'm happy your song is OK.