Fix transaction instance variable reference