[GEOS-6487] Coverage band customization fails against old raster layers (making the layer unusable)