Added method and test for effect of flagged transactions