Fix negative values.