Removing Unknown attribute error when a trophy is show on the profile page


![screen shot 2014-08-06 at 7 50 26 am](https://cloud.githubusercontent.com/assets/1599081/3827114/20c762e8-1d6a-11e4-8f5c-75f88b94a513.png)

I see what the problem is.  doc is sometimes a SolrDocument and sometimes a GenericFile.  So it would be best to check `doc.is_a?(SolrDocument) && doc.hydra_model == 'Collection'`