@viktorklang I filter out the members that shouldn't be there from the starting map and then don't add them from the map I fold over. Would it be better to just filter them out at the end?

@patriknw I thought it unnecessary to create a set of all member addresses just to use it for filtering. Don't know which will be faster/costlier, sequential scan v.s. hash-code calculation and object allocation.