Remove unused argument to buildSearch()