Added handling for unknown version, and fixed issue in version resolution where it assumed single digit version