fixed a bug where ballot overview error page was causing the app to crash.