The snails would be the worry. The ick medicine would kill them…..it contains copper.
I was told to seperate the fish from the ones who don’t need the treatment.
There are only three main ick remedies.
Blue dye, green dye,
and a clear one based on copper sulfate.
Stay away from the copper. They also sell that as a snail killer.
And the green, (malachite green) might also hurt the snails.
So your left with the blue. Nox ick, or ick out. both use methylene blue. You can use this at a THIRD of a dose. It will still work on the ick, may take a little longer, but snails will be fine.
Keep your filters running, do your water changes, preferably right before you dose for the day.
It may take a few weeks with this low dose, but it will still work.
And if you can turn up the heat that speeds things along. Ick life cycle speeds up. (Ick actually dies above 86f but that’s pretty warm for most tropical fish.)