Update db calls to search with correct param.