I was incorrect. These will get written no matter what.

But, they shouldn't be. Wrapper elements should not be written unless they contain something.