Fix handling of nans in input data