Not working search iterations