This fixes a bug when two objects folders start with the same letters, like "news" and "newsletter". Class selector will appear for "news" folder in grid view, although it only contains objects of one class.