Updated aggregate and gIntersects arguments to remove errors