Fix incoming links dashboard data when topic record can't be found