Hey, you could use the id of the object (System.Guid ObjectID of Eco.Gameplay.Objects.WorldObject) to reference the object to delete instead of the list index based on distance. It would be much cleaner and failsafe.
The only issue would be if IDs are very long or if we cant copy paste from eco chat (which i think we cant )