Verify selected indexes on repetition are correct

Adds some specs for repetition.selectedIndexes. I have not found a version for which these specs do not pass, so further investigation may be necessary.