Fix NULL-values in max_batch for jobtypes