Could you please provide a savefile or at least steps on how you achieved this? I can't reproduce the issue on my end
I think that this is caused by the scenario, as I am unable to create the scenario well enough for it to keep the entities and still link them together. Could you please try creating a game from Freeplay? The recommended settings are to disable all resources, disable biters, disable pollution, and set map size to 64 by 64. If you didn't use the scenario, then I'm not sure what happened.
tl;dr: please submit a savefile and try creating a save from Freeplay, that fixed it for me