The Elasticsearch version checker currently extracts the latest version by sorting the list of versions and taking the max. This is used to determine whether or not a version is supported and whether to log a warning. However, the versions are stored as strings so taking the max could potentially cause a problem. We should use integer comparison of the string representation to extract the latest version.
- The latest ES supported version is extracted correctly rather than taking the max string value