Teachers unions take a hit