Fix validation on restore form.

Closes #3571951

Merge request reports

Loading