Working filter (indexOf)