fix issue with deleting all items from all indexes