Bug fix daysPerCycle.