The whole Congress/electoral vote thing is about certifying the votes, not the eligibility of the candidates.
The Constitution gives Congress the power to object to and reject votes. It’s not just a counting process. If Congress believed that electoral votes were cast for an ineligible candidate they have the power not to count those votes.