Fix isPublicMember for private members
Merge pull request #826 from ReneZwanenburg/isPublicMember-private-member-fix

Fix isPublicMember for private members