In a thickly planted aquarium, the plants remove most of the ammonia and nitrite before it ever gets to the bacteria, especially the bacteria in the filter which is far less than the bacteria colonizing all the surfaces including every plant leaf and every grain of substrate gravel or sand.