Reduce use of $this->searchTerms.
Fixed template bug that broke blank advanced search form.