Fix regression

Fix regression with snapshot version detection.