ith less than 24 hours until the presidential primary, a group of New Yorkers who saw their party affiliations mysteriously switched are filing a lawsuit Monday seeking to open the state’s closed primary so that they can cast a ballot.

New York has the earliest change-of-party deadline in the country — registered independent voters who wanted to participate in Tuesday’s presidential primary had to change their party by last October. Many voters missed that deadline — or thought they met it, only to have paperwork get lost in the mail — and are disenfranchised as a result.

The lawsuit is asking for an emergency declaratory judgment that would make Tuesday’s primary open, meaning any registered New York voter could cast a ballot in either party’s primary.