--- replace/tabledrag.js	2009-03-21 16:06:59.000000000 -0400
+++ replace/tabledrag-patched.js	2010-11-01 17:43:15.000000000 -0400
@@ -994,7 +994,7 @@ Drupal.tableDrag.prototype.row.prototype
   var siblings = new Array();
   var directions = new Array('prev', 'next');
   var rowIndentation = this.indents;
-  for (var d in directions) {
+  for (var d = 0; d < directions.length; d++) {
     var checkRow = $(this.element)[directions[d]]();
     while (checkRow.length) {
       // Check that the sibling contains a similar target field.
