Fixed Issue with clearing schedule