Revert "SEGFAULT ISSUE:  Get rid of assign by reference and do a join/merge instead"

This reverts commit 6d063d3f1f675fc2cc125d1060effa9425a4cdb7.
Add check before keying (only needed when there is "mult membership" present)