Group Folder Mapping issue

v8 site, I deleted one group from a list in a folder, but they have all disappeared!

Checking the DB, the groups are still in the Groups table.

Also, when I add a user I can add the groups to the user, so it’s just the Folder in the Group in the Dashboard that doesn’t list the groups.

I downloaded a backup of the DB from this morning and I can see the Group Folder name is in the SQL beginning INSERT INTO TreeNodes...

I ran the SQL to add the missing values into TreeGroupNodes, but still the groups do not show. What else do I need to do?