Gracefully handle bad data type