Fix invalid use of variable in membership API
Merge pull request #32 from mjanser/fix-variables-in-membership

Fix invalid use of variable in membership API