BUG: fix typeerror caused by spurious call to len on frame multiindex
Merge pull request #3557 from cpcloud/html-typeerror-bug-fix

fix TypeError for display.multi_sparse == False