BUG: HistoryContainer creation at runtime did not work as intended.
ENH: Makes schedule_function work in daily mode.