Implemented improved page submission prevention for search form.