fix vote count migration