How to recover corrupted DB after migrating from 2.2 to 3.5

How to recover corrupted DB after migrating from 2.2 to 3.5

Migration plan followed
2.2.2 → 2.3.12
2.3.12 → 3.5.20

After checking consistency check, reported 4 errors
ERROR: The next record in the target chain is a relationship between two other nodes.

Is it possible to recover the DB ?

I don't know if it's possible in the current data base state but it might be possible to dump the data into a CSV and then reload it into a new instance and fix the issues. https://neo4j.com/docs/labs/apoc/current/export/csv/#export-database-csv