I might be reading the code wrong, but the way I read it, you call ```node.save``` for each node before you find the first duplicate. And that's not what we want: we don't want to save any node unless we're sure there's no duplicate.