Fix 1.46.

The procedure #repeated was not working for any value greater than 2.
1.45 progress.