fix bug where not possible to add folders after last folder was deleted