Set minimum instead of range in key validation