Bug: incorrect as_string() for link [RT#82334]