category-filter related bug fixes