diff --git a/libwccl/ops/match/conditions/matchtext.cpp b/libwccl/ops/match/conditions/matchtext.cpp
index 60e7c3716559594ecea90117898f8a12b20861e8..aecd31e0c3a68b5121549249ec9348577b9dcedf 100644
--- a/libwccl/ops/match/conditions/matchtext.cpp
+++ b/libwccl/ops/match/conditions/matchtext.cpp
@@ -13,7 +13,7 @@ MatchResult MatchText::apply(const ActionExecContext& context) const
 	
 	UnicodeString sent_frag(sc.at(orig_iter)->orth());
 	int iter_pos = orig_iter + 1;
-	while(sent_frag.length() <= text_.length() && iter_pos < sc.size()) {
+	while(sent_frag.length() < text_.length() && iter_pos < sc.size()) {
 		if (sc.at(iter_pos)->wa() != PwrNlp::Whitespace::None) {
 			sent_frag += " ";
 		}