A fix to make the getCollections method more efficient after the fix where type information could be lost.
Merge pull request #209 from box/OptimizeCollectionFix

A fix to make the getCollections method more efficient after the fix whe...