fix comparison of not-existing snapshots