You are right, it’s not a bug with recurse and you are right again about filter overriding the root function. There is a issue for this Filter may override root query in v0.8.1 · Issue #1455 · dgraph-io/dgraph · GitHub a fix for which will be merged today and will be part of the next release.