Facet variables don't scope correctly

MichelDiz commented :

This is a duplicated of Sum over facets is incorrect · Issue #4160 · dgraph-io/dgraph · GitHub

And I sure that this isn’t related to #4907 @ppp225

Cheers.