Aggragations/Filter - fix for es1.2 when no sub aggregations

Aggragations/Filter - fix for es1.2 when no sub aggregations

Aggragations/Filter - fix for es1.2 when no sub aggregations

Aggragations/Filter - fix for es1.2 when no sub aggregations

Aggragations/Filter - fix for es1.2 when no sub aggregations