Bugfix in table.tpl
- use column key when iteration over instance.columns