Update to close-tag for thead and tbody