Fix a message to nil exception when creating a version before all other versions when change propagation is enabled

Joseph,

I have a found a case in which an exception occurs. Please review and merge.

Thank you,
Koen