Corrected an index error that was causing weekly schedule to be shifted over a day