Add support for removing docs when index deleted