Wrap all searches to get better errors