Fix bug khi truy van co purchaseHistories = 0