FIXED BUG: in getCM when directed was passing a reference to the contacts object and not deep copying it!