Adjust cleaning of data to ensure no NaN.