Changed all ords lookup to use a set rather than a map of just the keys.