Missing values considered in impurity