Now only the visible categories are shown.