No. The original code searched for every node that wasn't the current one (see line #26). Then proceeded to add it anyway...