GZ_Loach, in actual fact it's the bacteria in your filter and elsewhere that convert nitrites to nitrates (the "nitrifying bacteria") - plants only use nitrates, not nitrites.
Not sure what you're talking about when you refer to "ammonia bacteria" either. But if you mean to say that nitrosifying bacteria (that which converts ammonia to nitrite) would have been detrimental to the fish & plants, you're entirely wrong. Nitrites, while still harmful to fish, are far less so than ammonia. But all this is moot in any case, because it would seem that neither nitrosifying nor nitrifying bacteria were present, hence the problem.