We missed that base_index may change, which caused a type duplication being created in the graph.