Fix product count bug