order history now respects quantity