Add a boolean valid field to the index so we can include negative examples.