In the new commit, I changed the title to `only filters out inactive layers`, to emphasize that it tests both that active layers are included, while inactive layers are excluded. I think dhawt's suggested addition is relevant specifically to the `is_active`  scope.