The various isWorthPolling() functions (one for each inventory kind) are actually called before checking the recently finalized bloom filter, which means that we always spend time in the variant selection then the inventory filtering function even if the item is trivially not worth polling because it's already final. The bloom filter check is very cheap, so let's do that first and bypass the more expensive algorithm if possible.
There is no change in behavior.