Bug 20318: Merge invoices can lead to an merged invoice without Invoice number