added sharing conditional check to decrement the public collection count
Merge pull request #355 from sheebans/master

added sharing conditional check to decrement the public collection count