Fixed error when editing VoteTypes