Similarly, ensure that matchcid is duplicated correctly when merging contexts.