Apply specific ID collation to root_dag_id too (#23536)