Fix node.lastSent initial value after refactoring.