Handle bad data better.