Improved handlining of nested transactions