If the student Second Race (STU.RC2) field is being populated instead of the First Race (STU.RC1) field when importing a student enrollment record using Online Registration, check the code table.  There is, most likely, a blank record in STU.RC1.  Remove the blank record to resolve the issue.