fixed bug where search box would not work on category pages