Fixed the default value to not be infinite repeat.