diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/SearchHelper/OleDBSearch.cs b/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/SearchHelper/OleDBSearch.cs index f029167ea6..ff6f873963 100644 --- a/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/SearchHelper/OleDBSearch.cs +++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/SearchHelper/OleDBSearch.cs @@ -29,7 +29,7 @@ namespace Microsoft.Plugin.Indexer.SearchHelper { if (!wDSResults.IsClosed && wDSResults.HasRows) { - while (wDSResults.IsClosed && wDSResults.Read()) + while (!wDSResults.IsClosed && wDSResults.Read()) { List fieldData = new List(wDSResults.FieldCount); for (int i = 0; i < wDSResults.FieldCount; i++)