Republicans in Arizona over the past several years have enacted proof-of-citizenship requirements for registered voters with the purported goal of eliminating the threat of undocumented immigrants from voting.

However, Just Security reports that many of these same Republicans have been changing their tune recently after they discovered that the law would purge a large number of registered Republicans.

Overall, registered Republicans represented 37 percent of the voters affected by the glitch, while registered Democrats made up 27 percent and unaffiliated voters represented 29 percent.