Fix bug in flat_map for enumerables that yield multiple values