fix for TableWithSelectAll bug in toggling select all checkbox