Added fix so no upper delta is used when all values are negative.