Fix SetCommand boolean bug