Fixed bug in the GetMemberDataKey method