Notwithstanding any other provision of law, when—
(A) two or more persons are entitled to monthly benefits for a particular month on the basis of the wages and self-employment income of an insured individual and (for such particular month) the provisions of this subsection are applicable to such monthly benefits, and
(B) such individual’s primary insurance amount is increased for the following month under any provision of this subchapter,
then the total of monthly benefits for all persons on the basis of such wages and self-employment income for such particular month, as determined under the provisions of this subsection, shall for purposes of determining the total monthly benefits for all persons on the basis of such wages and self-employment income for months subsequent to such particular month be considered to have been increased by the smallest amount that would have been required in order to assure that the total of monthly benefits payable on the basis of such wages and self-employment income for any such subsequent month will not be less (after the application of the other provisions of this subsection and section 402(q) of this title ) than the total of monthly benefits (after the application of the other provisions of this subsection and section 402(q) of this title ) payable on the basis of such wages and self-employment income for such particular month.