fixed script error in advanced search when user selects program and owne...

bug: 17130723