Repeat helper now accepts an array as well as numeric ranges