Maybe the original foreclosure complaint had an incorrect legal description and the plaintiff attempted to have it corrected post final judgement, which, in most/all jurisdictions, the courts will not allow such corrections. This means that once the error was discovered after final judgement, the only way to correct the incorrect legal description would be to start all over again. It becomes even more complicated if this incorrect legal description was carrying over from a prior foreclosure action or describes another property.
RedPanda show first check the legal description shown in the complaint to make sure it accurately describes their property. Maybe this is a good case to support why it might not be a good idea to vacate a property before the foreclosure/sale has been finalized and an eviction action procured through the courts. Essentially, you having being paying rent for nearly two years unnecessarily.