Fixed lookup-proc-variable.