Fix fact resolution in aggregate resolver