Fixed NaN checking in regression evaluator.