It's kinda stupid to calculate total sum of all transactions amounts per category and then display it as 'Top Expenses' view. In such case if there are two transactions with the same category, where one of them has amount -1000 and another one has +1001, then such category wouldn't appear in 'Top Expenses' view on Budget page.
It's kinda stupid to calculate total sum of all transactions amounts per category and then display it as 'Top Expenses' view. In such case if there are two transactions with the same category, where one of them has amount -1000 and another one has +1001, then such category wouldn't appear in 'Top Expenses' view on Budget page.
This PR fixes that.