Right, I forgot that I have that feature now.
I found the exact time when it happened. But it doesn't explain why. All I can see is that the old version suddenly overwrites the new one at a specific time, without any explanation.
Now that you've reminded me about this feature, I do suppose in the future if this happened I could use the note history to fix it, but I'd rather not have to.