made collections not crash in gallery view
Merge pull request #620 from bmaddy/collection-grid

made collections not crash in gallery view