It’s not clear to me what exactly you’re trying to accomplish. I see that “ice Cream” has been filtered out, but I can’t see the underlying logic behind this process.
Can you rephrase and be more specific about the problem you’re trying to solve and its context?