rb: Fix Node#modifyMemberships