if ( !filteredRisks.length ) {
    var riskErrors = config.errorMessages.risks;
    templateData.risksError = riskErrors.noGrade;
  }