diff --git a/Flow.Launcher.Plugin/Query.cs b/Flow.Launcher.Plugin/Query.cs
index a4a806a62..dfa9e5df1 100644
--- a/Flow.Launcher.Plugin/Query.cs
+++ b/Flow.Launcher.Plugin/Query.cs
@@ -81,7 +81,7 @@ namespace Flow.Launcher.Plugin
///
/// strings from second search (including) to last search
///
- public string SecondToEndSearch => _secondToEndSearch ??= string.Join(' ', SearchTerms[1..]);
+ public string SecondToEndSearch => SearchTerms.Length > 1? _secondToEndSearch ??= string.Join(' ', SearchTerms[1..]]) : "";
///
/// Return second search split by space if it has