fix filtering for snapshot selection