Handle blank link names in imported queries files.