settings: fix listing of invisible categories and groups