Handle "Undefined" kind in mcompare