Filtering through returned data - TanStack