Fixed problem with overtime calculation

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