Fix addMember SQL