Possible bug in Aged Payables and Aged Receivables report

I have a supplier with a Debit balance because I have made an advance payment to him

This is correctly reported on the Summary screen drill down
Trust me, the total at the bottom is a credit total of 4,352.58

but the Aged Payables report has the wrong total in that it adds the 1,000 instead of subtracting it

I tested a similar transaction for a customer and the Aged Receivables report shows a similar bug

I put this into bugs.

Fixed in the latest version (19.10.9)