change filter id using isset to array_keys