Fix various issues with rel links