Nearly 300,000 Texans in the 2018 midterms were hindered by problems at the polls in 2018, according to a statistical analysis released Tuesday by an advocacy group.

Because of voting machine malfunctions, lack of easy access to polling locations at Texas universities, and the state’s application of some voter registration laws — among other problems — at least 277,000 voters faced avoidable setbacks and problems, according to the study conducted by the Texas Civil Rights Project.

The number of voters affected by those issues is greater than the margin of votes in the 2018 U.S. Senate race between U.S. Sen. Ted Cruz and Democratic challenger Beto O’Rourke, the report says. The advocacy group doesn’t suggest that enough votes were lost to change the results in the Senate race, but it cites the contest as an example of the potential impact of 277,000 votes.

Cruz beat O’Rourke by 214,901 votes — the closest U.S. Senate race in Texas since the 1970s.

“Voters encountered hurdles to democracy at every stop of the voting process, from registration to submitting the ballot,” the 24-page report concludes.

Texas Take: Get political headlines from across the state sent directly to your inbox

The group is warning that even more voters will be hindered in 2020 unless state and local governments take steps to reform the state’s “antiquated election infrastructure.”

“Real change must come to Texas in order to ensure that all eligible Texans are able to cast a vote that counts,” said Mimi Marziani, president of the group.

The Texas Civil Rights project, founded in 1990, is a nonprofit group based in Austin that is focused on voting rights, racial and economic justice, and criminal justice reform. In addition to contributions, it is funded with grants and litigation fees.

The report relies on statistical analysis to come up with an estimate of the number of voters impacted:

One of the most pronounced issues was a lack of access to convenient polling places, particularly for college students, the report states. It estimates that if all 22 Texas colleges with at least 10,000 students had a polling place on or near campus during early voting and on election day, 262,000 more students would have cast ballots in 2018. To get that number, the group used the enrollment at the 15 biggest universities without a polling place on campus, then subtracted the percentage of international students — about 5.6 percent of students — who cannot vote. Based on those enrollment figures, the civil rights project estimated that 262,000 college students who are eligible to vote would have benefited from having an on-site polling location.

Voter machine glitches were a concern in the election. There were numerous reports of voters who said they tried to submit straight-ticket ballots but upon review found that the machine had selected the wrong candidate in the U.S. Senate race. The issue was reported with Hart eSlate voting machines, which are used by 82 Texas counties. The civil rights project focused on seven counties — including Fort Bend, Harris and Montgomery — where it said as many as 1.9 million straight-ticket voters may have been affected by the glitch. Even if the error went undetected by a tiny fraction of those voters, as many as 1,885 of them could have had the wrong choice in the Senate race submitted, the study concluded.

Other issues identified by the civil rights group included polling sites opening late, long lines at some locations, early voter registration deadlines that kept some voters from participating and the state’s interpretation of so-called Motor Voter laws that prevent some people from changing their voter registration addresses online when they change the address on their driver licenses. In Harris County alone, the group said 106 people had provisional ballots rejected because they mistakenly thought they had registered with DPS online. The Texas Civil Rights Project said if the rest of the state had a similar failure rate, it would mean a total of 753 people statewide had the same problem.

Not included in the report were another 2,000 potential voters in Texas who had their registration applications called into question late last year after they tried to register to vote through Vote.org, which uses digital photographs of signatures on its forms. The Texas Secretary of State said at the time that those signatures were not valid because Texas requires a handwritten signature that is not a copy or a photograph of a signature. Voters who submitted applications through Vote.org were given 10 days to correct the signatures, but it is unclear how many did so before Election Day.