Fix: Calulcation of oustanding amount must not include abandonned
invoices.
Fix: Overwrite bad value of limit payment date only if payment date is
defined.