Renamed dependents to reverse_dependencies.
Simplified logic for removing job dependencies.