fixed the purchase history issue
Merge pull request #157 from uptownjimmy/purchaseHistoryFix

fixed the purchase history issue