Akshay: detail-absenteeism view: fixing 500 error