Section 2. All sales of any such lands heretofore made by any county commissioners shall be valid and binding on the county, and all deeds and conveyances given by the county for any such lands are hereby ratified, confirmed and validated, and the purchasers thereof and their respective heirs, successors and assigns shall hold and may convey such titles and estates indefeasibly as to any rights of the county therein, notwithstanding the fact that the time within which such sales were by law required to be made had expired when such sales were made.