Joplin doesn't starts with the last opened note

Operating system

Windows

Joplin version

3.7.21

Desktop version info

Joplin 3.7.21 (prod, win32)

Device: win32, 13th Gen Intel(R) Core(TM) i7-13700
Client ID: 5863d4305e3c4810bc45c2a3dcf68a6b
Sync Version: 3
Profile Version: 54
Keychain Supported: Yes
Alternative instance ID: -
Sync target: WebDAV
Editor: Rich Text

Revision: e41516e

Backup: 1.5.1
VS-Code Style Note Search: 0.2.2

What issue do you have?

I'm using Joplin app on my Windows desktop. I have the latest version available (3.7.21). Why sometimes Joplin doesn't open the last opened note, but a random one? It happens from time to time, not always, but quite often.
Any idea?