Fix error in merge agent/subject linker