Fixed string sanitization.