Fix issue when building multiple forests with one RandomForestBuilder instance.