diff --git a/crates/meilisearch-types/src/keys.rs b/crates/meilisearch-types/src/keys.rs index 942215099..436854d7d 100644 --- a/crates/meilisearch-types/src/keys.rs +++ b/crates/meilisearch-types/src/keys.rs @@ -448,7 +448,7 @@ impl Sequence for Action { previous_item = Some(*next_flag); potential_previous_index += 1; } else { - return None; + return pre_previous_item; } } }