Check_MK Werk 0720: Fix timeperiod computation with CMC and flexible notifications