Fixed bug in SNAPSHOT comparison