(2) If immediately prior to the execution of a contract of sale of real property, or a sale or conveyance of title to real property in exchange for a note for all or a part of the purchase price secured by a mortgage or trust deed on the real property, title to any interest in the property therein described was vested in the sellers or some of the sellers as tenants by the entirety or was otherwise subject to any right of survivorship, then, unless a contrary purpose is expressed in the contract, note, mortgage or trust deed, the right to receive payment of deferred installments of the purchase price of the property and the mortgage and trust deed shall likewise be subject to like rights of survivorship. [1957 c.402 §§1,2; 1969 c.591 §276; 1989 c.74 §1; 1997 c.99 §21]