Bug fix to return latest version available rather than None