Making sure we have a scheduled job before trying to abort it.

Small change just in order to cut a new beta for testing purposes.