Don't write an empty batch