Adjusted CHECK constraint to allow for NULL where needed.