Correct issue when a new node replaces a pre-existing node and number is reused