Weird. I had checked for the null case and handled cache invalidation. Did not test multiplayer. Error occurs because the game is trying to do an operation on an entity that doesn't exist. This is weird because I explicitly tested for this prior to line 82.
Does this keep happening every time you remove it? How many are you removing at once, by what method? I thought I covered all my bases, but it seems I missed an edge case.
If you can elaborate what steps you took I'll try to replicate the error.
If the issue still persists, remove the Control lua from all clients + server. Then delete the entities you want to. Then save. Then bring back the control lua.