Handle nans
Do not add NaNs