DOCS-964 Fix agg operator return value type to boolean instead of integer
merge: DOCS-964