Unable to recreate the issue at my side. It’s working as expected on my side. Same version.
Can you share full screen screenshot while debugging along with variables panel? It would be easy to understand the situation you are in.
For this, you can try this solution. I haven’t tried it but give it a try.
Thanks,
Ashok