fix broken logic in Selection

now a single path must match all criteria in order for things to count as a match. I think this makes the logic make sense for most cases.

close #444