Any carryover determined under section
1397E
(e)(4) (relating to carryover of unused limitation) with respect to any State to calendar year 2008 or 2009 shall be treated for purposes of this section as a carryover with respect to such State for such calendar year under subparagraph (A), and the limitation of subparagraph (B) shall apply to such carryover taking into account the calendar years to which such carryover relates.