Fix for wrapping again

If the last character was a space, it will fail.