Fixed cart counter bug