As noted by @Ofnuts, histogram-export still expected to receive a single layer from GIMP. The parameters have been updated to reflect receiving multiple layers/drawables, and the active layer is selected. The parameter was left in case multi-layer support is added in the future.