Fixes NullPointerException in VotePanel

Author: nfbrown