Latest version by minimal os version

Fixed minimal os version detection in response.