edge.aggregator: Small refactoring of previous commit