More secure way of setting columns which works with recent redmine

This is needed for Redmine version 2.3.2.devel