Minor optimizations

Can you make the `isFilter` assignment use the `LAZY_FILTER_FLAG` compare. I want to stick with that to emphasis the relationship.