Small issue with end_table_cell: th instead of td

I've noticed that EndTableCell event is always rendered as th, despite is_header_cell option.