Fix "Refactor date buttons in voting page"