Fixed bug where correct links were rejected