The former owner of any delinquent or nonentered lands sold pursuant to sections forty-five and forty-eight of this article, his heirs or assigns, shall be entitled to the surplus received from the sale over and above the taxes and interest charged or chargeable thereon including all costs of the sale, if his or their claim be filed in the circuit court of the county in which the land is situated within two years after the date of confirmation of said sale. If no claim is filed with the court within the two years, then such surplus shall be paid by the sheriff to the Auditor for credit to the general school fund.