fixed order of deletion in leaves and their approvals