More fixes for the metadata aggregation in FITS ingest.