Total Row in Account Receivable disappear when grid is filtered

I thought the below commit fix this issue but it’s not, it may work only with some reports.

https://github.com/frappe/frappe/commit/fab9a3f1f6f7d773fa20e8db6e754b921312f370

Hello
This seems to be working fine in the test account.

Filter in textbox under each column name.