Komponent becomes a folder after folders crash

How to reproduce:

  1. Create a new widget
  2. Create an empty komp
  3. Create a global folder inside the komp with any global item inside. Doesn't matter.
  4. Save it
  5. Delete the folder global to make kwgt crash.
  6. Open your widget and you'll see a weird folder icon with all komp featurea on top gone.

I don't know why this occurs or if i have discovered a super secret feature or something but its a bug and i think it should be investigated.