Fix error using merge agent/subject linker
Merge pull request #631 from hudmol/linker-fix-agent-merging

Fix error in merge agent/subject linker