Investigate the issue to recalculate periods after calendar config was changed and some of periods should have different endDate