[#3425816] fix: Add null check for nid

Closes #3425816

Merge request reports

Loading