fix 2 bugs. one is the incorrect walk in the linked list, the other is a missed reset of table->current_node_index
fix 2 bugs. one is the incorrect walk in the linked list, the other is a missed reset of table->current_node_index

xiaowing/libxw,xiaowing/libxw