Added check for sum and max aggregation methods
Added check for sum and max aggregation methods

madsbk/bohrium,madsbk/bohrium,madsbk/bohrium,bh107/bohrium,bh107/bohrium,bh107/bohrium,madsbk/bohrium,bh107/bohrium