diff --git a/R/mx_search.R b/R/mx_search.R
index 0998ef1..c189798 100644
--- a/R/mx_search.R
+++ b/R/mx_search.R
@@ -239,7 +239,7 @@ run_search <- function(mx_data,
         dplyr::any_vars(grepl(paste(query,
           collapse = "|"
         ), .))
-      ) %>%
+      ) |>
       dplyr::select(node)
 
     and <- tmp$node