Fixed summary values of tax in detailview and generated invoices.