Fixed refactoring problem for votings