Sale Analytics report error

Can someone help me with below error? I get it in Sales Analytics report whenever I want to filter with Item Groups.

### App Versions

“erpnext”: “14.0.3”,
“frappe”: “14.5.0”

### Route

query-report/Sales Analytics

### Trackeback

Traceback (most recent call last):
File “apps/frappe/frappe/”, line 69, in application
response = frappe.api.handle()
File “apps/frappe/frappe/”, line 54, in handle
return frappe.handler.handle()
File “apps/frappe/frappe/”, line 45, in handle
data = execute_cmd(cmd)
File “apps/frappe/frappe/”, line 83, in execute_cmd
return, **frappe.form_dict)
File “apps/frappe/frappe/”, line 1599, in call
return fn(*args, **newargs)
File “apps/frappe/frappe/”, line 783, in wrapper_fn
retval = fn(*args, **get_newargs(fn, kwargs))
File “apps/frappe/frappe/desk/”, line 253, in run
result = generate_report_result(report, filters, user, custom_columns, is_tree, parent_field)
File “apps/frappe/frappe/”, line 783, in wrapper_fn
retval = fn(*args, **get_newargs(fn, kwargs))
File “apps/frappe/frappe/desk/”, line 87, in generate_report_result
res = get_report_result(report, filters) or []
File “apps/frappe/frappe/desk/”, line 68, in get_report_result
res = report.execute_script_report(filters)
File “apps/frappe/frappe/core/doctype/report/”, line 142, in execute_script_report
res = self.execute_module(filters)
File “apps/frappe/frappe/core/doctype/report/”, line 159, in execute_module
return frappe.get_attr(method_name)(frappe._dict(filters))
File “apps/erpnext/erpnext/selling/report/sales_analytics/”, line 13, in execute
return Analytics(filters).run()
File “apps/erpnext/erpnext/selling/report/sales_analytics/”, line 42, in run
File “apps/erpnext/erpnext/selling/report/sales_analytics/”, line 108, in get_data
File “apps/erpnext/erpnext/selling/report/sales_analytics/”, line 236, in get_sales_transactions_based_on_item_group
File “apps/erpnext/erpnext/selling/report/sales_analytics/”, line 380, in get_groups
self.depth_map.setdefault(, self.depth_map.get(d.parent) + 1)
TypeError: unsupported operand type(s) for +: ‘NoneType’ and ‘int’

### Request Data

“type”: “GET”,
“args”: {
“report_name”: “Sales Analytics”,
“filters”: “{"tree_type":"Item Group","doc_type":"Sales Invoice","value_quantity":"Value","from_date":"2022-01-01","to_date":"2022-12-31","company":"ASSET For Industrial & Energy Solutions LLC","range":"Monthly"}”
“headers”: {},
“error_handlers”: {},
“url”: “/api/method/”

### Response Data

“exception”: “TypeError: unsupported operand type(s) for +: ‘NoneType’ and ‘int’”