Fix small bug in initial date of day interval