Fixed simple one line error on dataset num not updating