Added null guard to string sanitizer.