Correctly handle the special 'infinity' repetitions representation