Fix exception while export products to csv