fixing infinite loop in Validation/RecoVertex

fixing infinite loop in case of no vertices - but not sure that loop is actually doing what it should be