That's a lot of mods. Unfortunately if the entity is just missing I don't know how I would even go about finding the cause, I'd need this to happen more often to find a pattern. Maybe you can find a way to reproduce this problem? In the meantime, you'll have to use the factory building with the setting it is stuck in.