Minor fix in ToOne build_schema