Uniqueness hotfix for photo collection thumbnails