Eliminate invalids.