Fixed bug when all the instances in a zone are removed