Combining Array.filterMap and Array.flatMap in Effect Typescript - Effect Community