Fix transaction history order. Closes #221.