Which pronoun has an unclear antecedent in the following sentences?

The sixth-grade students liked volunteering their time to read to the elderly people in the hospital. It made them happy.