Recovering next reference after voiding last enterd transaction, improvements in...