Better handling of tables without a th row