Fix day overflow in addDuration