Fixed pagination in purchase history for #723