#16815 - fix latest version checking