Fixed a small bug where it would show duplicated purchase history.