Pass jobs instead of IDs, fixing additional bugs.