Fix execTransaction trace call that was referencing an undefined variable