How to hide topics of multi categories and their all sub-categories from latest page

I just made a workaround (code below). Not sure if this may cause other problems. @codinghorror please help to fix

diff --git a/app/controllers/list_controller.rb b/app/controllers/list_controller.rb
index bea0f7c..cb2df7a 100644
--- a/app/controllers/list_controller.rb
+++ b/app/controllers/list_controller.rb
@@ -237,7 +237,8 @@ class ListController < ApplicationController
     options = {
       page: params[:page],
       topic_ids: param_to_integer_list(:topic_ids),
-      exclude_category: (params[:exclude_category] || select_menu_item.try(:filter)),
+      # exclude_category: (params[:exclude_category] || select_menu_item.try(:filter)),
+      exclude_category: (select_menu_item.try(:filter) || params[:exclude_category]),
       category: params[:category],