This chapter does not apply to real estate used for an agricultural purpose as defined in section 535.13 , or to a one or two family dwelling which is, at the time of the initiation of the foreclosure, occupied by a legal or equitable titleholder. 87 Acts, ch 142, §25 ; 2006 Acts, ch 1132, §14, 16 ; 2009 Acts, ch 51, §15, 17 Referred to in §655A.2