gbm: turn 0/-1 bool into true/false