Fix checking for new version