fix: added null check for filters (#18416)
fix: added null check for filters (#18416)

filters when None, at `filters.get("outstanding_amt_greater_than")` would result in an Attribute Error. This PR just adds a simple null-check in the if conditions. I'm awesome! 

Co-authored-by: Shivam Mishra <4ebb2467f711fe1bc2da1914bc39d525c5d5279d@gmail.com>
gsnbng/erpnext,gsnbng/erpnext,gsnbng/erpnext,gsnbng/erpnext