added the isset condition to prevent null issue

Closes #3310057

Merge request reports

Loading