Fix filtering in snapshots