Change duration_days calculation to on demand

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