Fix crash when encountering *new* folders/labels.