Bug in the previous fix

In place change returns nil if the string was not modified