Prevented duplicate parents in parenSelection method