Fixed search with category from sidebar click