Fixed a bug regarding regex/phase arguments for delete_all_jobs.