Fix version inside condition