Fix for an invalid type cast when getting a 'public' tag.
Merge pull request #45 from maksimov/develop

Fix for an invalid type cast when getting a 'public' tag.