Vega-Lite cross-filter error bar

I’m trying to get cross-filtering to work with error bars. I am running into issues with the error bars in the base plot.

Right now, when I don’t select any area on the plot, vega-lite is drawing an error bar for each row. I am applying a sum aggregation on ‘yError’. I want to sum over the ‘error’ for each ‘age’ and ‘married’ and produce a single error bar per histogram bar e.g the first bar of the ‘age’ plot would have one error bar from -1 to 11 since the count over age is ‘5’ and the total error is 6. Is there any way to do this?