Fix total after new invoice upload