Error on Deleting Company Transaction - Record Does Not Exist

Dear Community,

I am on:
ERPNext: v8.x.x-beta (43268bd) (develop)
Frappe Framework: v8.10.6 (v8.x.x)

I wanted to delete all company transactions and encountered Record Does Not Exist.

Did the usual steps - Company >> Delete All Transactions. Keyed in password and company name correctly.

Anyone can assist?

Traceback (most recent call last):
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/app.py”, line 57, in application
response = frappe.handler.handle()
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/handler.py”, line 22, in handle
data = execute_cmd(cmd)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/handler.py”, line 53, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/init.py”, line 923, in call
return fn(*args, **newargs)
File “/home/ubuntu/frappe-bench/apps/erpnext/erpnext/setup/doctype/company/delete_company_transactions.py”, line 33, in delete_company_transactions
doc.save()
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/model/document.py”, line 230, in save
return self._save(*args, **kwargs)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/model/document.py”, line 260, in _save
self.check_if_latest()
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/model/document.py”, line 531, in check_if_latest
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/init.py”, line 319, in throw
msgprint(msg, raise_exception=exc, title=title, indicator=‘red’)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/init.py”, line 309, in msgprint
_raise_exception()
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/init.py”, line 282, in _raise_exception
raise raise_exception(encode(msg))
ValidationError: Record does not exist