Error while running event LabIconRevert::on_robot_mined_entity (ID 68) LabIconRevert/control.lua:14: attempt to index local 'tbl' (a nil value)
stack traceback: LabIconRevert/control.lua:14: in function <LabIconRevert/control.lua:9>
It happened because I removed it using robots. Mining manually didn't cause issues.
I was using the Crash Site mod. I wonder if that caused an issue. It adds a Lab with a different appearance at the crash site at the start of the game.