Inluding query available columns in the meta data.

Groupable columns in the work packages options now match the ones shown on the save/edit query view. The bug was happening because a columns were being selected in the edit view which didn't exist in the options template.