Fixed UnboundLocalError

Arose in custom_compute method of MemberToEvaluationRule