Different check to see if search should be performed