Fixed bug where links with no protocol caused a crash