The gender is here changed, but the sense shows that the reference is still to the demons. I suppose the author forgot that in the preceding sentences he had written δαίμονες (masc.) and not δαιμόνια (neut.).