Hmm. I didn't notice it was "wrong" because there is no single-person, either-sex word.
But it would perhaps be better in this case to go with all plurals: All the inhabitants ..., aren't they?
If you have a question about the English language and would like to ask one of our many English teachers and language experts, please click the button below to let us know: