diff --git a/java/client/src/org/openqa/selenium/remote/BeanToJsonConverter.java b/java/client/src/org/openqa/selenium/remote/BeanToJsonConverter.java
index <HASH>..<HASH> 100644
--- a/java/client/src/org/openqa/selenium/remote/BeanToJsonConverter.java
+++ b/java/client/src/org/openqa/selenium/remote/BeanToJsonConverter.java
@@ -125,7 +125,7 @@ public class BeanToJsonConverter {
 
   @SuppressWarnings({"unchecked"})
   private Object convertObject(Object toConvert, int maxDepth) throws Exception {
-    if (toConvert == null || maxDepth == 0)
+    if (toConvert == null)
       return JSONObject.NULL;
 
     if (toConvert instanceof Boolean ||
AjayKemparaj: Reverting Back r<I> as it was breaking some FF tests

r<I>