Modify job expansion logic to support licenses, generic resources, and currently running job steps in the job which is expanding.