Fixed thumbnails to only work with images that are in the pull classes