[Bug] Portfolio/summary - Error: Found input variables with inconsistent numbers of samples
Recreate with:

`/portfolio/load -f Public_Equity_Orderbook.xlsx/summary`

```
Error: Found input variables with inconsistent numbers of samples: [3209, 3198]
```

Doesn't matter what the portfolio file is.

```
Portfolio: megacap.csv
Risk Free Rate: 0.00%
Benchmark: SPDR S&P 500 ETF Trust (SPY)

2023 Jan 13, 19:27 (🦋) /portfolio/ $ summary

Error: Found input variables with inconsistent numbers of samples: [3991, 3990]
```


diff --git a/openbb_terminal/portfolio/portfolio_model.py b/openbb_terminal/portfolio/portfolio_model.py
index 030cf69209..c4fc1fdee4 100644
--- a/openbb_terminal/portfolio/portfolio_model.py
+++ b/openbb_terminal/portfolio/portfolio_model.py
@@ -768,6 +768,17 @@ def get_summary(
         portfolio_engine.benchmark_returns, window
     )
 
+    r2_portfolio_returns = portfolio_returns.copy()
+    r2_benchmark_returns = benchmark_returns.copy()
+    if len(portfolio_returns) > len(benchmark_returns):
+        r2_portfolio_returns = r2_portfolio_returns[
+            r2_portfolio_returns.index.isin(r2_benchmark_returns.index)
+        ]
+    elif len(portfolio_returns) < len(benchmark_returns):
+        r2_benchmark_returns = r2_benchmark_returns[
+            r2_benchmark_returns.index.isin(r2_portfolio_returns.index)
+        ]
+
     metrics = {
         "Volatility": [portfolio_returns.std(), benchmark_returns.std()],
         "Skew": [
@@ -791,8 +802,8 @@ def get_summary(
             metrics_model.sortino_ratio(benchmark_returns, risk_free_rate),
         ],
         "R2 Score": [
-            r2_score(portfolio_returns, benchmark_returns),
-            r2_score(portfolio_returns, benchmark_returns),
+            r2_score(r2_portfolio_returns, r2_benchmark_returns),
+            r2_score(r2_portfolio_returns, r2_benchmark_returns),
         ],
     }
 
['openbb_terminal/portfolio/portfolio_model.py']