We are using SharePoint Online.
There is only one “ Documents” in the QuickLaunch navigation parent.
I have confirmed this in the navigation settings screen of the GUI.
However, when I use the following command to retrieve it, two “Documents” are shown.
I think this is a bug.
Please check and fix it.
Command: Get-PnPNavigationNode -Location QuickLaunch