Thanks for that. With some very quick testing, it seems that "Include 2 bar lead-in in MIDI file" is the offending preference. I had it unchecked, and checking it makes the problem go away. Strange.

Thanks very much.