diff --git a/src/editable-form/editable-form-utils.js b/src/editable-form/editable-form-utils.js
index 69ef2c7..44d9162 100644
--- a/src/editable-form/editable-form-utils.js
+++ b/src/editable-form/editable-form-utils.js
@@ -158,7 +158,8 @@
                            result.push(o); 
                        }
                    } else {
-                       if(value == (o && typeof o === 'object' ? valueProp(o) : o)) {
+                       var itemValue = (o && (typeof o === 'object')) ? valueProp(o) : o;
+                       if(value == itemValue) {
                            result.push(o); 
                        }
                    }