Handle NaNs when computing min/max metadata in the table chunker.
Fix a bug populating simulation index values.