```scala
val temp = listValue withFilter {
  case mapValue: MapValue =>
    mapValue.shouldFilter(key, filter, value)
  case v: Value => true
} map {
  case mapValue: MapValue => {
    mapValue.execFiltering(context, into, key, filter, value)
    into.value
  }
  case v => v
}
```