Generate correct table class for vote tables