All lessees of lands for a term of years, life or lives, their executors, administrators, or assigns, may have like action and advantage against all and every person or persons, their heirs and assigns, which have any gift or grant of the reversion of said lands, so leased, or any parcel thereof, for any condition, covenant, or agreement in their lease or leases, as the lessees, or any of them, might have had against the lessors and their heirs, only excepting the benefit and advantage of recoveries in value, by reason of any warranty in deed or law.