Unless created to avoid the application of this chapter, the following arrangements are not governed by this chapter:
(1) residence at an institution, public or private, if incidental to detention or the provision of medical, geriatric, educational, counseling, religious, or similar service;
(2) occupancy under a contract of sale of a dwelling unit or the property of which it is a part, if the occupant is the purchaser or a person who succeeds to the interest of the purchaser;
(3) occupancy by a member of a fraternal or social organization in the portion of a structure operated for the benefit of the organization;
(4) transient occupancy in a hotel, motel, or lodgings;
(5) occupancy by an employee of a landlord whose right to occupancy is conditional upon employment in and about the premises;
(6) occupancy by an owner of a condominium unit or a holder of a proprietary lease in a cooperative;
(7) occupancy under a rental agreement covering premises rented by the occupant primarily for agricultural purposes;
(8) continuation of occupancy by the seller or a member of the seller's family for a period of not more than 36 months after the sale of a dwelling unit or the property of which it is a part.