Fix filtered param check