Bug fix: commit transactions not called