When doing string to node conversion, check for conversion success.