Fix AbstractFlowMap.union to use provided merger