Children with heart conditions who require surgery as infants may be more vulnerable to neurologic problems if they have a particular variety of a gene.