Cards not appearing between sub filtered decks

I have one main deck called “my_decK”, and 17 sub decks that are built with filters (one for each chapter). I applied tags like “Chapter01”, “Chapter02”, etc. to each card for each chapter.
I built this because as I studied I added a variety of tags to cards.
I wanted to use each filter deck to study chapters as needed.
I then tried to create a filter deck under the main deck that is all red flag cards (I added red flags as I studied for ones I wanted to study more later). This filter deck is called “Red Flag Cards”
I unburied the main deck, and rebuilt all the filter decks.
But “Red Flag Cards” only shows 21 cards. When I go to browser, set deck to *, and select red flag cards, it shows 180.
My red flag cards is configured as this:

  • Name: “my_deck::Red Flag Cards”
  • Search “flag:1”
  • Limit to: 2000

Why is this happening? Why aren’t all the red flag cards showing in sub filter deck I created? Am I using filters and tagging improperly? I would thought I could just create decks based on tags and study them at any time, even if they had other tags used in other filtered decks. Is this not the case? is there anyway to force this?

UPDATE1: Ok I figured out that I need to EMPTY every single filter deck then rebuild the “Red Flag Deck”. This is quite annoying to do, There does not seem to be a quick way to empty all filtered decks, so I am clicking every filter deck and then clicking empty. Is there an easier way to do this? Better yet, make Anki allow cards to be in separate decks at once.

UPDATE2: Ok this plugin allows me to empty or rebuild all filtered decks. Much better.

This is another reminder of the reasons why you shouldn’t try to use Filtered decks as a long-term organizational storage system. Filtered decks are for pulling cards together in some way other than how they are stored. 17 subdecks for chapters still seems like a waste of time (you should use tags for the chapters and keep the cards in a single deck), but if you’re going to do it, they should be regular decks, so you don’t have to rebuild them constantly and your cards aren’t stuck.

See also: