I take this PR has never been submitted or has not seen light of day. I have now submitted it as PR #4853.
Confirming that I am having what appears to be the same issue - when the viewer has been inactive for some time, pressing “back” to go to the patient list results in an error. Refreshing the page works. I’m also using Keycloak for authentication. Can I help test the update in the PR somehow?