Fix link handling.

Accidental the LinkConnector object was used for checking the nodes,
this patch fixes this behaviour.