Fixed minor bug in CompleteIteration script
More minor fixes to CompleteIteration