Add extra query for populating collection_id.