Remove cached pending schedules as the result depends on the call params
Move where include/exclude array cleanup happens
Cleanup