Fix an issue where the 'Link from' textbox would not work on lines using `id` 0