fix assertion in JobDistributor