WTH is it so hard to control how old entity data is treated when you rename an entity?

I would definitely agree that using metadata_id as a key was supposed to keep a history consistent after renaming entity_id (wrote here, by the way).
But now we have what we have. Bug or not, no idea.

Thanks for posting a link to PR.