Minor fixes to votes extractor