Added dependent destroy in batches