It was safe for mine...
I think it may depend on your infestation and treatment process though. I believe the toxicity isn't so much the FWE as the guts of the flatworms when they die off...so if you don't bother to suck out as many as you can before treatment and/or don't have a large water volume you could have some problems.