Fixed autocomplete when adding parameters

Fixed the variable paths displayed for vartree variables in the drop down selection when adding parameters.