Issue with Navigation Bar in User Login

I am experiencing an issue with the navigation bar when logged in as a user. Specifically, when I am in the Sales Invoice or another doctype form and click the “Previous View” button, it opens a random form instead of the expected one.

I’m unsure where to configure the settings to resolve this issue. Could you kindly guide me on how to fix it?

Screenshot 2024-10-03 110150