Improve inter-comment link behavior

Also fixed a duplicate error message, reassigning it to another
legitimate error. Users shouldn't experience anything but a
usability improvement.