Added where_in to the list of expected arguments received by delete()
diff --git a/system/database/DB_active_rec.php b/system/database/DB_active_rec.php
index e8cefa2..b8dce6d 100644
--- a/system/database/DB_active_rec.php
+++ b/system/database/DB_active_rec.php
@@ -1374,7 +1374,7 @@
 			$this->limit($limit);
 		}
 
-		if (count($this->ar_where) == 0 && count($this->ar_like) == 0)
+		if (count($this->ar_where) == 0 && count($this->ar_wherein) == 0 && count($this->ar_like))
 		{
 			if ($this->db_debug)
 			{