Accounts dashboard broken after an upgrade

Seems the issue is here on line 52. Some residual code I think.

https://github.com/frappe/erpnext/commit/eed12444e1d1b94d06894b16e829a4f3d4ff8735