CORE-763 Fixed date calculation logic for starting cycles.