Required dependency curated feed lets in too many packages

The logic to ignore patch version didn't maintain the max version, so it would let in packages it shouldn't have, e.g. if I had [8.0,8.2), then ReSharper_v8.2 would accept the package.