Cannot delete failed job


I’m using Hangfire Pro batches.
I currently have some failed jobs which belong to a cancelled batch which is already automatically removed.
When I try to delete the failed job I get the error:

Failed to change state to a ‘Deleted’ one due to an exception after 10 retry attempts

Could not move a parent batch ‘7b97f7bf-5322-413b-8460-123097be9533’ to a final state: it does not exist.