Bug fix: delete index does not deal with connectors.