Fix advanced search form.