Some nodes like the Math and Mix Color node are duplicated when looking at the link add search menu. That's because all nodes are considered in that operation, even ones that are not listed in the menu. To fix this, just disable the functionality for those legacy nodes. Pull Request: https://projects.blender.org/blender/blender/pulls/136979