Aggregations: Fix regression bug for the support of terms aggregation on the `_parent` field.