Fix bug that stopped generating daily schedule