prevent latent class='' from being left on table cells and rows

https://www.pivotaltracker.com/story/show/56713414