Fixed issues when adding a new membership without first searching for a membership.
Also fixed issues where the member associated with a transaction entry was not working as expected.