Better handling of invalid metadata, and cells that are numbers not strings