Fixed bug on deleting product.