Deals with missing values