Remove unnecessary thumbnails