Fix regression caused by 59d1ffd927ef3b63dbadf42e1caf14957201fd2d
diff --git a/system/database/DB_query_builder.php b/system/database/DB_query_builder.php
index d89c7ba..859f9f5 100644
--- a/system/database/DB_query_builder.php
+++ b/system/database/DB_query_builder.php
@@ -2326,7 +2326,7 @@
 
 				// Split multiple conditions
 				$conditions = preg_split(
-					'/(\s+AND\s+|\s+OR\s+)/i',
+					'/((^|\s+)AND\s+|(^|\s+)OR\s+)/i',
 					$this->{$qb_key}[$i]['condition'],
 					-1,
 					PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY