(a) If the court is satisfied as to the truth of the facts set out in the petition, it shall render a decree establishing and quieting the petitioner's title against all persons except as provided in subsection (b) of this section.
(b) The decree in the cause shall not bar or affect the rights of any person who claims through, under, or by virtue of any contract with the petitioner, or who was an adverse occupant of the land at the time the petition was filed, or any person who within seven (7) years preceding had paid the taxes on the land, or a remainderman unless the person shall have been made a defendant in the petition and personally summoned to answer it.