Fix a problem when not enough results in first search iteration