I think this is a more specific instance of https://bugs.mojang.com/browse/MC-62166
I also experienced this issue.
This is not a bug. It has to do with block ids. The world will delete any ids that do not exist. You risk this problem when opening a world with blocks in a version before those blocks were added.
Must have been searching wrong before but I now see that this is a duplicate