fix core when doing federated search while streaming.