Fixed bug associated with the new --repetitions switch that caused the calculated number of repetitions to be written to the XML as a float instead of an integer.