diff --git a/lib/connection.js b/lib/connection.js
index <HASH>..<HASH> 100644
--- a/lib/connection.js
+++ b/lib/connection.js
@@ -44,7 +44,7 @@ function escapeCQL(val)
         return 'NULL';
     if (Buffer.isBuffer(val))
         return val.toString('hex');
-    if (isFinite(val))
+    if (typeof val == 'number' || typeof val == 'boolean')
         return String(val);
     if (Array.isArray(val))
         return String(_.map(val, escapeCQL));
`escapeCQL`: Avoid serializing numeric strings as numbers.