Only performs seach if pids where found.