Tax glitch may impact thousands across the state