PF-491: Orderbook: sum of invoices assigned to order positions isn't calculated correctly.