Fixed a small bug with the way the messages were being abstracted in the BallotScanner state classes.