Sometimes, these type, of situation would happen.
The mistake is that of the Head of the institution.
The Head Master of the HSS should have written letters to the The Tahsildar/ Election Officer who is looking after the work allotment and also to the DEO (endorsing a copy of the letter to CEO) about the untimely demise of the teaching staff.
The omission in duty on the part of the HM could have caused these embarrassing situations.