anchor.diff:  
   <script type="text/javascript">
   
  -  function changeBaseProfileList(profilesList, harvesterTypeValueSelected) {
  +  function changeBaseProfileList(profilesList, harvesterTypeValueSelected, commandProfileOid) {
   //      alert(JSON.stringify(profilesList));
   //      alert("harvesterTypeValueSelected: " + harvesterTypeValueSelected);
         // Change the base profile list to those profiles that match the selected harvester type.
  
positive.code:       profilesList.push(jsProfile);
      </c:forEach>
      var selectedHarvesterTypeName = "<c:out value='${harvesterTypeName}' />";
      $("#harvesterType option[value='" + selectedHarvesterTypeName + "']").prop('selected', true);
      changeBaseProfileList(profilesList, selectedHarvesterTypeName);
      toggleProvideOverrides(selectedHarvesterTypeName);
  
      $('#harvesterType').change(function() {
        var harvesterTypeValueSelected = this.value;
        changeBaseProfileList(profilesList, harvesterTypeValueSelected);
        toggleProvideOverrides(harvesterTypeValueSelected);
      });
  
  
negative.code: //      alert(JSON.stringify(matchingProfiles));
        $("#profileOid").html('');
        $(matchingProfiles).each(function(i) {
          if (matchingProfiles[i].oid == commandProfileOid) {
            //alert(matchingProfiles[i].oid + " = " + commandProfileOid);
            $("#profileOid").append("<option value=" + matchingProfiles[i].oid + " SELECTED>" + matchingProfiles[i].name + "</option>");
          } else {
            $("#profileOid").append("<option value=" + matchingProfiles[i].oid + ">" + matchingProfiles[i].name + "</option>");
          }
        });
    }
  
  