Error while running on_configuration_changed: LuaEntity API call when LuaEntity was invalid.
stack traceback:
railloader/configchange.lua:30: in function 'task'
railloader/configchange.lua:17: in function 'on_mod_version_changed'
railloader/control.lua:22: in function <railloader/control.lua:19>