check_snl: fix id_ranges