classification of such property as farm land so as to be subject to said tax, from the date on which such transfer or change in classification becomes effective until (A) the expiration of ten years immediately following the death of the decedent, if there has been no such transfer or change in classification during said period of ten years or (B) in the event of such a transfer or change in class