So long as the baptisms met the necessary conditions, they were valid. Those conditions are: proper intent (to baptize); proper matter (water); and the proper formula (“I baptize you in the name of the Father, and of the Son, and of the Holy Spirit”).
DISCLAIMER: Catholic Answers has turned over the archive to Catholic-Questions.org and no longer owns, manages, or moderates the forums. For additional apologetics resources please visit www.catholic.com.