Updated trans_start() and trans_complete() so that _trans_depth increments correctly

Fix for issue #159 and #163.
1 file changed