Using non-min version of jQuery UI to debug easier
Fixed bug where a ui-sortable-placeholder <li> element was being auto-inserted into a sublist. This was seen by the code as an extra list checkbox and would count as a "not checked sublist checkbox", causing a parent checkbox to not be checked even when all other sublist items seemed to be checked.

Solution was to make sure the html() was valid