It appears you have encountered the bug that creates the 'duplicate' folders. Here are notes I have gathered from others with a similar problem and a fix that should work for you. Give it a try with the "Random" folders as it seems they are the duplicates.
I would suggest you backup your catalog before-hand.
After importing new photos Lightroom shows them to be in a new directory tree, with the same name as the original intended/target directory tree - except the name of the directory is all in CAPITALS. (Some people report duplicates without capitals!).
Lightroom shows two directories with the same contents. Note that no new directory is actually created, LR just thinks there is two (you can check with "show in Finder"). So, even though it appears there are duplicate directories and files, in reality they are all correctly located in the one original directory. LR is simply confused.
Solution to get rid of duplicate directories: (let’s call then “capitals” and “lowercase”)
1. In Lightroom: Update the ‘capitals’ folder location to correct ‘lowercase’ folder (right-click on the ‘capitals’ folder, then choose "update folder location")
Lightroom will ask if OK to merge the two - say yes.
Everything now appears to be OK, except that with any new import the ‘capitals’ duplicate folder will reappear, so continue-
2. In Explorer/Finder: Create a new folder with a different name (at the same level of the directory hierarchy as the problematic folders).
3. In Explorer/Finder: Move all contents of the problematic folder to the new folder, delete the problematic folder.
4. In Lightroom: LR now cannot find the old folder, it will show with a ‘?’ , so reconnect the photo library to the new folder ("update folder location", as above)
5. In Lightroom: Rename the new folder as it was originally, or accept the new name as permanent.