remove type comparison for filtering values