trq-2242 instead of walking every job seeing if it has an AFTERANY dependency on the job being deleted, look for any BEFOREANY dependencies in the deleted job and use that to find the AFTERANY dependencies and delete them.