fix npe in topNBinaryFn with post aggs