Transaction commit/rollback fix.