Check if a field exists before setting it in the build array.

Closes #2966909

Merge request reports

Loading