Dont toss the deal to the curb. Seems like most states have ways for dealing with this, question becomes of risk, time, money , effort, energy to resolve.
If its an issue you will have, the next legitimate buyer should have them to , so you have to explain this to them and see if you can work through it with them. Will a price concession resolve this as hedging against risk ? Can money be placed in escrow and be disbursed as resolved? Is it a simple thing you can do, don’t ask your attorney, search the states law and association, find out what the process and protocol is yourself first .