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

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