Fix the sched delete to loop through all schedules.

Change-Id: If97f913dbf262900a3b81f2aacae1fde9c57e1d9