weka: added pre-pruning check.