4bdac48 Fix categoryName and notCategoryName scopes