Fix last evaluated key semantics
Fix hostname matching starting with aws-sdk 1.35.0