Fix behavior for broken links