Fixed issue of build RF and saving to PMML.