Fixed writer bug I happened upon.