Added permalink support to the search form.