ensure that MERGE-ENTITY returns the merged entity