>>8177746 (lb)
"It" references person (singular) in the first part of the sentence, "they" references "all" (plural) in the second part.
It's a good thing Grammar Cat is here to help you, because you need it!
Fly straight or Proper Punctuation Narwhal and Spelling Raccoon will show up, and they are not as nice as Cat.