Fix issue with finding the latest version of models