added tool_id search to AnalysisHistoryDataset