MDL-40469 Gradebook: Fixed setType warning while exporting gradebook with publishing set