Fix the validation data report code