They probably had them all recite the “There is one god Allah, and Mohammad is ...” Make that profession and you are considered Muslim. (Its for their own good, of course!)
I was just thinking the same thing...and I’d bet my life you are probably correct.
The children were converted.