CLN: clarify code in com.mask_missing
BUG: disallow comparisons in replace_list with malformed types