Notwithstanding any provision in this article to the contrary, whenever a benefit payable to the surviving spouse under this article terminates or is reallocated because of the remarriage of the spouse, the termination or reallocation of the benefit shall be only for the period of remarriage, and in the event that the surviving spouse resumes the status of an unmarried person, the benefit shall be fully reinstated or reallocated, as the case may be, to the surviving spouse for said unmarried periods. (Prior code § 34.05.532)