Fixed bug with --day-break option