Correct the checks in step 5 of Node::pre_insert.