fixes JAVA-972
2.12: Support allowDiskUsage top-level boolean parameter to aggregate helper