Array conditional item

So essentially you just want a dynamic filter, yes?

There are several ways to do this. Below is a tutorial that shows one way: