How long did they last? Chances the water could have fouled. Amonia and other toxic chemicals could've built up in such a small container. Try a larger enclosure and so gentle filtration.
Just a few hours. I've kept wood frog, gray treefrog, and northern leopard frog tads in similar containers (with far more biomass of tadpoles), and they all did quite well.