Fixed deletion for algolia doc_manager