Fix innacurate num jobs published logging.