checked for empty array before updating url

Closes #3587630

Merge request reports

Loading