diff --git a/IPython/html/static/widgets/js/widget.js b/IPython/html/static/widgets/js/widget.js
index 29193e6..e14048d 100644
--- a/IPython/html/static/widgets/js/widget.js
+++ b/IPython/html/static/widgets/js/widget.js
@@ -343,7 +343,7 @@ define(["widgets/js/manager",
// Walk the lists until an unequal entry is found.
var i;
for (i = 0; i < new_list.length; i++) {
- if (i < old_list.length || new_list[i] !== old_list[i]) {
+ if (i >= old_list.length || new_list[i] !== old_list[i]) {
break;
}
}