Make filterValue dynamic based on filter name