delete_all_by_query: add reset method to Index::Type