Hide hidden categories based on user preferences.