Fix buggy implementation of header_template for column context.

refs openhealthcare/elcid#472