Fixes #387 (Long directory names not visible in upload folder view)