Fit files not always saved on Garmin Edge 840 SW 20.19

Lately when I save a ride the fit file does not always get saved to the Activities directory on the device, nor does it show up on the "Last Ride" widget and it is not synced to garmin connect. The fit file is correctly recorded however and is available in the TempFIT directory on the device from where I can manually upload it directly to Garmin Connect or other services. So there is no corruption or anything, there is just something in the save process going wrong.

I have tried to cleanup older activities in the Activities directory but that didn't stop this issue from occurring.

I'm confident that I save the ride correctly and I have a feeling it mostly happens to longer rides. It also seems that it started ocurring right after upgrading to SW 20.19. Is anyone else having this issue, or even better, is there a fix for this?