give preference to explicitly defined aggregates over auto-detected aggregates