Fix restore predefined export with more than 2 levels depth

issue3402
review1124003