TRQ-2831 Make a copy of the dependency jobs before walking so list won't get changed underneath you.