added asset deletion guards as done within phpGridServer