(d) For purposes of this section, a tenured teacher is considered qualified for a position if the position is in
- (1) grades K — 8 and the teacher has an elementary endorsement;
(2) an established middle school and the teacher has
- (A) an elementary endorsement;
- (B) a middle school endorsement; or
- (C) a secondary certificate with a subject area endorsement in the area of assignment in which the teacher filling the position will spend at least 40 percent of the teacher's time or the teacher has, within the five years immediately preceding the last date on which the teacher performed teaching services in the district before being laid off, received an evaluation stating that the teacher's performance in the subject or subjects meets the district performance standards; or
- (3) grades 9 — 12 and the teacher has an endorsement for each subject area in which the teacher filling the position will spend at least 40 percent of the teacher's time or the teacher has, within the five years immediately preceding the last date on which the teacher performed teaching services in the district before being laid off, received an evaluation stating that the teacher's performance in the subject or subjects meets the district performance standards.