Removes irrelevant/broken links.