related to https://github.com/kestra-io/kestra/issues/2383
Different failed execution count on the Homepage dashboard
### Explain the bug

For example, on the demo, when filtering on 7 days.

On the homepage dashboard, execution count is 31147
![image](https://github.com/kestra-io/kestra/assets/1819009/bb7692ee-6e48-4185-a43e-7fa0c52045f4)

But the failed execution widget shows more than 10000 failed execution
![image](https://github.com/kestra-io/kestra/assets/1819009/90330409-cc2a-468e-b102-ca49319174ee)

And same for the execution page when listing only FAILED execution
![image](https://github.com/kestra-io/kestra/assets/1819009/af964b77-17d0-44b9-8f68-83cbb1162645)



### Environment Information

- Kestra Version: 0.13.0-SNAPSHOT
- Operating System and Java Version (if not using Kestra Docker image):

ui/src/components/home/Home.vue
ui/src/components/home/Home.vue
diff --git a/ui/src/components/home/Home.vue b/ui/src/components/home/Home.vue
index 7d24d7e804..6e0aef1777 100644
--- a/ui/src/components/home/Home.vue
+++ b/ui/src/components/home/Home.vue
@@ -258,8 +258,8 @@
                         let sorted = data.sort((a, b) => {
                             return new Date(b.date) - new Date(a.date);
                         });
-                        this.today = sorted.shift();
-                        this.yesterday = sorted.shift();
+                        this.today = sorted.at(sorted.length - 1);
+                        this.yesterday = sorted.length >= 2 ? sorted.at(sorted.length - 2) : {};
                         this.alls = this.mergeStats(sorted);
                         this.dailyReady = true;
                     });
