Fix files search error on category and sub_category.