Issue: reset not updating the node list
Removed an invariant check and an unused temporary