Fixed the problem with repeatingSelector values being copied between
multiple instances and re-using more code.