Court ruling could affect future voting rights lawsuits in N