Fix handling of nested instances during transactions
0.7.0