Fixed bug where deleting all table rows/columns in a table would cause an exception to be thrown on IE.