Repeat multiple repeats

Fixed a problem where the repeats would just keep on building