Hi mate , i had same issues with one of my planted community tank, had guppies and tetras, the best way to get rid of worms is to use either levamisole or Flubendazole [trade name - panacure] , fenbendazole, mebendazole and oxbendazole are all antihelmenthics, that is they are basically like Levamisole and get rid of worms. You might not need to use these if the Levamisole would not work, though some of these different derivatives might be more affective than others in controlling different worms. search this online. i am in aus so got Levamisole via online. hope it helps.