Fix bug with undo vote