optimize guard for first guarded aggregate