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