Remove empty row from empty charts and images
Close tbody after images and charts