Use correct image type when discarding duplicate cast thumbnails (affected stats only)