If match then go to next doc