Before that point spending extensive time or money on due diligence is probably a waste. By all means keep accurate documentation of what is going on and follow best practices, but if there are a few minor issues it probably doesn't matter and will get cleaned up later if your business is doing well enough (note: this situation is obviously not a minor issue).
'Due diligence' must be performed by the buyer, otherwise it is something else.