Small logical change to mStrReplace

Just a bit faster this way, when it is used correctly.