I looked at the code and I don't see an easy way around it.
Code ramble: the non sex title is just setting her name in the data, the same way you can rename frostwyrm. This section is deliberately set up to loop the way you describe: Take their current name, put a word in front of it, and save that combo as their new name:
To stop players from being able to loop forever, we could perhaps scan their current name for key words and then disable strings, but that's pretty janky.
I have done some recent work in this area, but it won't help you. I fixed a UI overflow issue where we ran out of buttons if many names were available, and we no longer will force all names to be capitalized.
Edit: the more I think of this the more I wonder if I mucked this up myself a while ago. Here's where things are assigned, and if we stuck to this flags pattern we could recover the ORIGINAL player assigned name as a root, and we wouldn't loop:
edit2, no I don't think it was me, looks like we had [bess.name] all the way back in the flash days.