In an affirmative sentence, the noun after إِلَّا shares the rule stated for the group before it.

Mustathna: Excluding a Member