Fixed multitable issue in showdowns table-extension

Thanks to welvet (https://github.com/welvet/showdown/commit/3cf0cc7d2134b8a9aa374935ec8a12a9564124b8)