Added error checking when trying to draw a lottery