Weird behavior on profit and loss report

Hello.

The profit and loss report is wonky.
http://prntscr.com/iudjl1

This is a report for the past 12 months. Notice that profits are correctly grouped by month, but expenses are all zeroed but accumulate at the last period (Brazilian real 2018 03).

Thanks for letting us know!

This change should help, we’ll include it with our next release.

https://github.com/invoiceninja/invoiceninja/commit/81e0ff12b3a07b3ae8676843b586fa7a03b5fc98