Update max_mis.R to be data.table compliant

Preserve var types in NAs in max_mis