Fixed inefficiency bug in the evaluation of process terms.