Fix NPE when generating the code for a job which including "Additional
Columns" with Dynamic