Reenabled insertion of NaNs and tided up missing.