fixed selection bug when returning to ballot