#449 - fixes rare transaction rollback problem for programmatic transactions