And now I just found out something I never knew, as a result of my query. Just putting a tie with no up/down indication, a sole ~ after the chore <> construct puts the ties up and down musically correctly. Well I'll be. I have caused myself much extra work for years by not knowing this. And of course it produces the right MIDI output, correctly tied.
Always learning. Andrew