Fix assert in netlist.