by reason of such amendments for any month before July 2018. (2) Recomputation to reflect benefit increases In any case in which an individual is entitled to monthly insurance benefits under title II of the Social Security Act for June 2018, if such benefits are based on a primary insurance amount computed— (A) under section 215 of such Act as in effect (by reason of the Social Security Amendments of 1977) after December 1978, or (B) under section 215 of such Act as in effect prior to January 1979 by reason of subsection (a)(4)(B) of such section (as amended by the Social Security Amendments of 1977), the Commissioner of Social Security (notwithstanding section 215(f)(1) of the Social Security Act) shall recompute such primary insurance amount so as to take into account the amendments made by this Act.