Fixed issue of rendering search.