For purposes of paragraph (1), if—
(A) a widow or surviving divorced wife marries after attaining age 60 (or after attaining age 50 if she was entitled before such marriage occurred to benefits based on disability under this subsection), or
(B) a disabled widow or disabled surviving divorced wife described in paragraph (1)(B)(ii) marries after attaining age 50,
such marriage shall be deemed not to have occurred.