Some debugging code added to the search form view.