I changed this around so that I fold over the allowed members and build up a the merged seen table instead. No extra `Set` no unnecessary `filter` and lookups in `Maps`.