Only take into account active absences

Signed-off-by: Malte Sussdorff <malte.sussdorff@cognovis.com>