Many thanks. I rewrote the notes to the Melody track and this this it stayed.
I didn't know before you told, that if I change the Melody track from MIDI to Real Track it wipes out the notes. This must have happened.
Thanks, now I know not to touch to the Melody track.