; and (2) payments or subsistence allowances under chapters 30, 31, 32, and 35 of such title and chapter 1606 of title 10, United States Code, during a month the individual would have been enrolled in a course or program of education. (d) Period not charged The period for which, by reason of this subsection, educational assistance is not charged against entitlement or counted toward the applicable aggregate period under section 3695 of title 38, United States Code, shall not exceed the aggregate of— (1) the portion of the period of enrollment in the course from which the individual did not receive credit or with respect to which the individual lost training time, as determined under subsection (b)(2); and (2) the period by which a monthly stipend is extended under section 3680(a)(2)(B) of title 38, United States Code. (e) Continuing pursuit of disapproved courses (1) In general The Secretary may treat a course of education that is disapproved under chapter 36 of title 38, United States Code, as being approved under such chapter with respect to an individual described in paragraph (2) if the Secretary determines, on a programmatic basis, that— (A) such disapproval is the result of an action described in subsection (b)(1)(B)