Fixed an issue where the restored deleted files were restored in root.