fixed bug in cm_combine functions when codes are not the same in repeated measures.