Fixed DB::ImageInfo::clearAllCategoryInfo and DB::ImageInfo::removeCategoryInfo