Ezra 2:59

And these were they which went up from Tel-melah, Tel-harsa, Cherub, Addan, and Immer: but they could not shew their father’s house, and their seed, whether they were of Israel:

The verse belongs to the account of the exiles returning to Jerusalem and rebuilding the temple, which forms the historical setting for Haggai's work. It stands in the list of those who came up to Jerusalem with the Jews after the proclamation of Cyrus, whose decree ended the captivity and opened the way for return, when nearly fifty thousand Jews went back to their own land while many Jews still remained in exile. More precisely, it belongs to the company that had already returned with Zerubbabel in the first year of Cyrus, numbering 42,360 persons, distinct both from the Jews who still remained in Babylon and from those who later went up with Ezra.

It names those who went up from Tel-melah, Tel-harsa, Cherub, Addan, and Immer but could not show their father's house and their seed from the family records, so whether they were of Israel remained unverified. That lack of genealogical proof temporarily shut them out from the holy things. Those unable to verify their descent in this way may have included members of tribes other than Judah.