Move transaction start to beginning of loop, so the rollback removes c/b's
Merge pull request #4 from nZEDb/dev

Move transaction start to beginning of loop, so the rollback removes c/b...