fix cutoff skipping a day if it ends after midnight but before the cutoff