Fix shadowing issues with aggregation in Ronja

Signed-off-by: Stefan Plantikow <stefan.plantikow@neotechnology.com>
Merge pull request #2717 from jakub-/ronja-aggregation

Fix shadowing issues with aggregation in Ronja