routes/products.js: fix bug when deleting product.