Fix possible infinite loop in repeataable object