Script of Raven destroy old entity and create new, which haven't collision. The error occurs because script of Robotank does not check if valid the entity before performing any actions with it.
Thank you! I re-posted your quote to the RoboTank author. This will make it easier for him to fix the issue. : D