Fix an issue where catalog links were affecting external links #773