Fix error in qrepeatall()

--BRJ and DR