Indented this to the same level as  `activeResults.ContainsKey(fileName)` this probably accounted for the incorrect AST being assigned to a different document.