be specified in such contract, provided such contract shall contain provisions concerning reasonable periodic increases of the specified sale price or rent; (4) such units of affordable housing shall be conveyed by deeds containing covenants incorporating the terms and conditions contained in such contract between the developer and the municipality, which covenants shall run with the land and be enforceable by the municipality until released by the municipality; and (5) the requirements of subdivisions (1) to (4), inclusive, of this subsection shall apply to (A) the resale, (B) the purchase and subsequent leasing and (C) the conversion to the common interest form of ownership and subsequent sale of any such unit of affordable housing during and for the remaining term of such period.