Bench Update error from v10 to v11

I have been facing this error during “bench update --reset”/“bench update” on one of my v10 development environment and have not managed to come out of it. Has anybody else faced this problem and managed to get a workaround while the bug is being resolved?

ERPNext Bug #14440

More details are on the bench update but the error is due to frappe.exceptions.LinkValidationError: Could not find Row #1: Action: Approve, Row #2: Action: Reject

caused by:

File “/home/frappe/frappe-bench/apps/erpnext/erpnext/patches/v11_0/”, line 17, in execute
frappe.set_value(‘Workflow Document State’,, ‘update_field’, status_field)

Any help will be appreciated.