Switch to using index_collection_ids which removes a deprecation