What other tanks do you have going? What were the worms you mentioned that were harmless? Any pictures? If it wasn't ammonia poisoning or nitrate poisoning, anything you take from this tank and put in another could infect that tank, the frog, pleco, or whatever else survived.