Fix bug in counting the days of Absences.