Use link_id and not neighbor_link_id when looking for highest id on a _local_ link (cough).