Fix read of metadata for tables with multiple raster cols

Closes #5529