Fix to correctly calculate first day of next cycle period.