Fixed exception when converting an HTML table to native kramdown elements

This fixes #101 which didn't provide a general solution.