Fixed bug where product count would not update