Fix for empty resources in job submission