Check next.type before next.is( 'table' ).
Changelog entry.
Merge branch 't/11096'