Fixed reroll nondeterministic test fail bug.