The old code had a bug that highlighted a socket from a node to which a edge already exists which could not be connected to