diff --git a/src/SearchableTrait.php b/src/SearchableTrait.php
index <HASH>..<HASH> 100644
--- a/src/SearchableTrait.php
+++ b/src/SearchableTrait.php
@@ -87,7 +87,11 @@ trait SearchableTrait
 
         $this->makeGroupBy($query);
 
+        $clone_bindings = $query->getBindings();
+        $query->setBindings([]);
+
         $this->addBindingsToQuery($query, $this->search_bindings);
+        $this->addBindingsToQuery($query, $clone_bindings);
 
         if(is_callable($restriction)) {
             $query = $restriction($query);
@@ -337,6 +341,12 @@ trait SearchableTrait
         } else {
             $original->from(DB::connection($this->connection)->raw("({$clone->toSql()}) as `{$tableName}`"));
         }
-        $original->mergeBindings($clone->getQuery());
+
+        $original->setBindings(
+            array_merge_recursive(
+                $clone->getBindings(),
+                $original->getBindings()
+            )
+        );
     }
 }
fix for bindings order when using where clause

Bindings order were wrong.