Pooja: fixing the condition on detail absenteeism template