And I'm actually wondering if we shouldn't simply move this logic in the ``Index.deleteIndex`` body.