Bugfix for search form