Fixes the new handling of links.