fixed the "up to date" logic for snapshots