### Description I got a `500` error when applying for an annual leave and it keeps logging me out ### Steps to reproduce [Screencast from 08-09-24 10:52:24.webm](https://github.com/user-attachments/assets/1a5a22a2-7b2b-437e-8d12-5403ba60ee28)