Fixed bug in view_related_link.