Fix call to all_votes_by_type()