Fixing comparison bug, better allowing multiple runs.