Fix issue where jobs not matching branch regex are being deleted