In general
No credit shall be allowed under subsection (a) for any taxable year if—
(A) the lesser of— (i) the modified adjusted gross income of the taxpayer for such taxable year, or (ii) the modified adjusted gross income of the taxpayer for the preceding taxable year, exceeds
(B) the threshold amount.