Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
I cannot reproduce this issue on my end. Is it possible that you have another plugin that is modifying URLs on your site?
Could you please check for conflicts by performing these steps: https://rankmath.com/kb/check-plugin-conflicts/
Looking forward to helping you. Thank you.
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.