anchor.diff:        profilesList.push(jsProfile);
       </c:forEach>
       var selectedHarvesterTypeName = "<c:out value='${harvesterTypeName}' />";
  +    var commandProfileOid = "<c:out value='${command.profileOid}' />";
       $("#harvesterType option[value='" + selectedHarvesterTypeName + "']").prop('selected', true);
  -    changeBaseProfileList(profilesList, selectedHarvesterTypeName);
  +    changeBaseProfileList(profilesList, selectedHarvesterTypeName, commandProfileOid);
       toggleProvideOverrides(selectedHarvesterTypeName);
   
       $('#harvesterType').change(function() {
         var harvesterTypeValueSelected = this.value;
  -      changeBaseProfileList(profilesList, harvesterTypeValueSelected);
  +      changeBaseProfileList(profilesList, harvesterTypeValueSelected, commandProfileOid);
         toggleProvideOverrides(harvesterTypeValueSelected);
       });
   
  
positive.code: //      alert(JSON.stringify(matchingProfiles));
        $("#profileOid").html('');
        $(matchingProfiles).each(function(i) {
          $("#profileOid").append("<option value=" + matchingProfiles[i].oid + ">" + matchingProfiles[i].name + "</option>");
        });
    }
  
  
negative.code: 
  <script type="text/javascript">
  
    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.
  